From c01835c0c8ebfb7e5dbe51f9c8b937476630ced7 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:32:56 +0000 Subject: [PATCH 01/41] [Windows / SQL CE] baselines --- ...py_AsyncEnumerable(SqlCe,MultipleRows).sql | 504 +++++ ...syncEnumerable(SqlCe,ProviderSpecific).sql | 504 +++++ ...lkCopy_AsyncEnumerable(SqlCe,RowByRow).sql | 954 +++++++++ ...ulkCopy_Enumerable(SqlCe,MultipleRows).sql | 1008 +++++++++ ...opy_Enumerable(SqlCe,ProviderSpecific).sql | 1008 +++++++++ ...ts.BulkCopy_Enumerable(SqlCe,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5886 insertions(+) create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,MultipleRows).sql create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,ProviderSpecific).sql create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,RowByRow).sql create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,MultipleRows).sql create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,ProviderSpecific).sql create mode 100644 SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,RowByRow).sql diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,MultipleRows).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,MultipleRows).sql new file mode 100644 index 000000000000..56a413d37dbc --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,MultipleRows).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,ProviderSpecific).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,ProviderSpecific).sql new file mode 100644 index 000000000000..56a413d37dbc --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,ProviderSpecific).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,RowByRow).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,RowByRow).sql new file mode 100644 index 000000000000..4fa4904ba5e9 --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlCe,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,MultipleRows).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,MultipleRows).sql new file mode 100644 index 000000000000..26e7534d700c --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,MultipleRows).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,ProviderSpecific).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,ProviderSpecific).sql new file mode 100644 index 000000000000..26e7534d700c --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,ProviderSpecific).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + diff --git a/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,RowByRow).sql b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,RowByRow).sql new file mode 100644 index 000000000000..9b3775f578ba --- /dev/null +++ b/SqlCe/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlCe,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlCe + +SELECT + [t1].[Id], + [t1].[Value] as [Value_1] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlCe + +DELETE FROM + [BulkCopyTable] + From 4e5e63ff563ef837e1666c82eabfa24ae90fa69d Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:36:12 +0000 Subject: [PATCH 02/41] [Windows / SQLite (specialized tests)] baselines --- ...rable(SQLite.Classic.MPM,MultipleRows).sql | 522 +++++ ...e(SQLite.Classic.MPM,ProviderSpecific).sql | 522 +++++ ...numerable(SQLite.Classic.MPM,RowByRow).sql | 954 +++++++++ ...rable(SQLite.Classic.MPM,MultipleRows).sql | 1044 +++++++++ ...e(SQLite.Classic.MPM,ProviderSpecific).sql | 1044 +++++++++ ...numerable(SQLite.Classic.MPM,RowByRow).sql | 1908 +++++++++++++++++ ...utoMergeAsync(SQLite.Classic.MPM,FTS3).sql | 5 + ...utoMergeAsync(SQLite.Classic.MPM,FTS4).sql | 5 + ...ityCheckAsync(SQLite.Classic.MPM,FTS3).sql | 5 + ...ityCheckAsync(SQLite.Classic.MPM,FTS4).sql | 5 + ...andMergeAsync(SQLite.Classic.MPM,FTS3).sql | 5 + ...andMergeAsync(SQLite.Classic.MPM,FTS4).sql | 5 + ...OptimizeAsync(SQLite.Classic.MPM,FTS3).sql | 5 + ...OptimizeAsync(SQLite.Classic.MPM,FTS4).sql | 5 + ...dRebuildAsync(SQLite.Classic.MPM,FTS3).sql | 5 + ...dRebuildAsync(SQLite.Classic.MPM,FTS4).sql | 5 + ...mandAutoMergeAsync(SQLite.Classic.MPM).sql | 5 + ...ndCrisisMergeAsync(SQLite.Classic.MPM).sql | 5 + ...mandDeleteAllAsync(SQLite.Classic.MPM).sql | 5 + ...CommandDeleteAsync(SQLite.Classic.MPM).sql | 9 + ...ntegrityCheckAsync(SQLite.Classic.MPM).sql | 5 + ...5CommandMergeAsync(SQLite.Classic.MPM).sql | 5 + ...mmandOptimizeAsync(SQLite.Classic.MPM).sql | 5 + ...s5CommandPgszAsync(SQLite.Classic.MPM).sql | 5 + ...s5CommandRankasync(SQLite.Classic.MPM).sql | 7 + ...ommandRebuildAsync(SQLite.Classic.MPM).sql | 5 + ...mandUserMergeAsync(SQLite.Classic.MPM).sql | 5 + ...rable(SQLite.Classic.MPU,MultipleRows).sql | 522 +++++ ...e(SQLite.Classic.MPU,ProviderSpecific).sql | 522 +++++ ...numerable(SQLite.Classic.MPU,RowByRow).sql | 954 +++++++++ ...rable(SQLite.Classic.MPU,MultipleRows).sql | 1044 +++++++++ ...e(SQLite.Classic.MPU,ProviderSpecific).sql | 1044 +++++++++ ...numerable(SQLite.Classic.MPU,RowByRow).sql | 1908 +++++++++++++++++ ...utoMergeAsync(SQLite.Classic.MPU,FTS3).sql | 5 + ...utoMergeAsync(SQLite.Classic.MPU,FTS4).sql | 5 + ...ityCheckAsync(SQLite.Classic.MPU,FTS3).sql | 5 + ...ityCheckAsync(SQLite.Classic.MPU,FTS4).sql | 5 + ...andMergeAsync(SQLite.Classic.MPU,FTS3).sql | 5 + ...andMergeAsync(SQLite.Classic.MPU,FTS4).sql | 5 + ...OptimizeAsync(SQLite.Classic.MPU,FTS3).sql | 5 + ...OptimizeAsync(SQLite.Classic.MPU,FTS4).sql | 5 + ...dRebuildAsync(SQLite.Classic.MPU,FTS3).sql | 5 + ...dRebuildAsync(SQLite.Classic.MPU,FTS4).sql | 5 + ...mandAutoMergeAsync(SQLite.Classic.MPU).sql | 5 + ...ndCrisisMergeAsync(SQLite.Classic.MPU).sql | 5 + ...mandDeleteAllAsync(SQLite.Classic.MPU).sql | 5 + ...CommandDeleteAsync(SQLite.Classic.MPU).sql | 9 + ...ntegrityCheckAsync(SQLite.Classic.MPU).sql | 5 + ...5CommandMergeAsync(SQLite.Classic.MPU).sql | 5 + ...mmandOptimizeAsync(SQLite.Classic.MPU).sql | 5 + ...s5CommandPgszAsync(SQLite.Classic.MPU).sql | 5 + ...s5CommandRankasync(SQLite.Classic.MPU).sql | 7 + ...ommandRebuildAsync(SQLite.Classic.MPU).sql | 5 + ...mandUserMergeAsync(SQLite.Classic.MPU).sql | 5 + 54 files changed, 12210 insertions(+) create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,MultipleRows).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,ProviderSpecific).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,RowByRow).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,MultipleRows).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,ProviderSpecific).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,RowByRow).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS3).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS4).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS3).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS4).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS3).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS4).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS3).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS4).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS3).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS4).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPM).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,MultipleRows).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,ProviderSpecific).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,RowByRow).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,MultipleRows).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,ProviderSpecific).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,RowByRow).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS3).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS4).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS3).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS4).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS3).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS4).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS3).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS4).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS3).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS4).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPU).sql create mode 100644 SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPU).sql diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,MultipleRows).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,MultipleRows).sql new file mode 100644 index 000000000000..8d5dfe4a3615 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,ProviderSpecific).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,ProviderSpecific).sql new file mode 100644 index 000000000000..8d5dfe4a3615 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,ProviderSpecific).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,RowByRow).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,RowByRow).sql new file mode 100644 index 000000000000..2f070b966f43 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPM,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,MultipleRows).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,MultipleRows).sql new file mode 100644 index 000000000000..df3123c15e8c --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,ProviderSpecific).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,ProviderSpecific).sql new file mode 100644 index 000000000000..df3123c15e8c --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,ProviderSpecific).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,RowByRow).sql b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,RowByRow).sql new file mode 100644 index 000000000000..ff5597471d09 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPM,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS3).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS3).sql new file mode 100644 index 000000000000..1afa36c968db --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS4).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS4).sql new file mode 100644 index 000000000000..b643f872c3ba --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPM,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS3).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS3).sql new file mode 100644 index 000000000000..7c665c05e2fa --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS4).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS4).sql new file mode 100644 index 000000000000..c1b00714db92 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPM,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS3).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS3).sql new file mode 100644 index 000000000000..c4cfe190a7ba --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS4).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS4).sql new file mode 100644 index 000000000000..16796dd31e6f --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPM,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS3).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS3).sql new file mode 100644 index 000000000000..887a9521b349 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS4).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS4).sql new file mode 100644 index 000000000000..3956c6eb9165 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPM,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS3).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS3).sql new file mode 100644 index 000000000000..9f59cd527390 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS4).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS4).sql new file mode 100644 index 000000000000..dc3e48e3c277 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPM,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..9b835ae5f393 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('automerge', 5) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..f33c5ee780c1 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('crisismerge', 2) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..fbbf5a1f9354 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('delete-all') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..d17e2e02cdbd --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,9 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @p0 VarChar(3) -- AnsiString +SET @p0 = 'one' +DECLARE @p1 VarChar(3) -- AnsiString +SET @p1 = 'two' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rowid, [text1], [text2]) VALUES('delete', 2, @p0, @p1) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..bfcd2caa96ba --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..b4ec732dc2c8 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('merge', 234) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..cb5359eed860 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..a413aec4cc59 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('pgsz', 3333) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..d29903bd3a70 --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPM).sql @@ -0,0 +1,7 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) +DECLARE @rank VarChar(19) -- AnsiString +SET @rank = 'strange(''function")' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('rank', @rank) + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..11fea0445dfd --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPM).sql b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPM).sql new file mode 100644 index 000000000000..6c44cdcbeb4f --- /dev/null +++ b/SQLite.Classic.MPM/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPM).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPM SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('usermerge', 7) + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,MultipleRows).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,MultipleRows).sql new file mode 100644 index 000000000000..c1c313e68b58 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,ProviderSpecific).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,ProviderSpecific).sql new file mode 100644 index 000000000000..c1c313e68b58 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,ProviderSpecific).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,RowByRow).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,RowByRow).sql new file mode 100644 index 000000000000..1b469966c97e --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic.MPU,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,MultipleRows).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,MultipleRows).sql new file mode 100644 index 000000000000..2e01f85d2c9c --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,ProviderSpecific).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,ProviderSpecific).sql new file mode 100644 index 000000000000..2e01f85d2c9c --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,ProviderSpecific).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,RowByRow).sql b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,RowByRow).sql new file mode 100644 index 000000000000..eea3bc08de45 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic.MPU,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS3).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS3).sql new file mode 100644 index 000000000000..832b1f3af9d6 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS4).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS4).sql new file mode 100644 index 000000000000..7315aeb2527a --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic.MPU,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS3).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS3).sql new file mode 100644 index 000000000000..93c85189cbc2 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS4).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS4).sql new file mode 100644 index 000000000000..e4b0312f2100 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic.MPU,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS3).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS3).sql new file mode 100644 index 000000000000..d666272148f4 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS4).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS4).sql new file mode 100644 index 000000000000..7f03acddff6c --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic.MPU,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS3).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS3).sql new file mode 100644 index 000000000000..d445e433e2d0 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS4).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS4).sql new file mode 100644 index 000000000000..24f3e58aed03 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic.MPU,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS3).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS3).sql new file mode 100644 index 000000000000..8710e90e18ce --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS4).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS4).sql new file mode 100644 index 000000000000..70639e46486e --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic.MPU,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..f53ff1d0594a --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('automerge', 5) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..8fed625d172a --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('crisismerge', 2) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..987bde04e853 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('delete-all') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..a438978e4a4d --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,9 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @p0 VarChar(3) -- AnsiString +SET @p0 = 'one' +DECLARE @p1 VarChar(3) -- AnsiString +SET @p1 = 'two' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rowid, [text1], [text2]) VALUES('delete', 2, @p0, @p1) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..8bc0c068a26e --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..c0e5cacad1e5 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('merge', 234) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..e79751475e6a --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..6c6a94364709 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('pgsz', 3333) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..d0d41d970efc --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic.MPU).sql @@ -0,0 +1,7 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) +DECLARE @rank VarChar(19) -- AnsiString +SET @rank = 'strange(''function")' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('rank', @rank) + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..2c067c67f6cd --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPU).sql b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPU).sql new file mode 100644 index 000000000000..7359fea80e10 --- /dev/null +++ b/SQLite.Classic.MPU/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic.MPU).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic.MPU SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('usermerge', 7) + From ee39018ccab13e55f4d531d18992793c40c11a8a Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:38:31 +0000 Subject: [PATCH 03/41] [Windows / SQL Server 2005] baselines --- ...erable(SqlServer.2005.MS,MultipleRows).sql | 522 +++++ ...le(SqlServer.2005.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2005.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2005.MS,MultipleRows).sql | 1044 +++++++++ ...le(SqlServer.2005.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2005.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2005.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2005.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2005.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2005.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2005.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2005.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2005.MS).sql | 54 + ...der_With_DataParams(SqlServer.2005.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2005.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2005.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2005.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2005.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2005.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2005.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2005.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2005.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2005.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2005.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2005.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2005.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2005.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2005.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2005.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2005.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 66 + ...late_And_DataParams(SqlServer.2005.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2005.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2005.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2005.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2005.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2005.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2005.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2005.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2005.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...late_And_DataParams(SqlServer.2005.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2005.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2005.MS).sql | 21 + ...able_WithDataParams(SqlServer.2005.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2005.MS).sql | 27 + ...umerable_WithReader(SqlServer.2005.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...late_And_DataParams(SqlServer.2005.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2005.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2005.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2005.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2005.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2005.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...late_And_DataParams(SqlServer.2005.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2005.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2005.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2005.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2005.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2005.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2005.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2005.MS).sql | 54 + ...late_And_DataParams(SqlServer.2005.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2005.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2005.MS).sql | 54 + ...numerable(SqlServer.2005,MultipleRows).sql | 522 +++++ ...rable(SqlServer.2005,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2005,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2005,MultipleRows).sql | 1044 +++++++++ ...rable(SqlServer.2005,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2005,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2005).sql | 81 + ...Query_WithObjectParams(SqlServer.2005).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2005).sql | 81 + ...calar_WithObjectParams(SqlServer.2005).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2005).sql | 30 + ...erProc_With_DataParams(SqlServer.2005).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2005).sql | 54 + ...Reader_With_DataParams(SqlServer.2005).sql | 81 + ...DataParams_AndBehavior(SqlServer.2005).sql | 81 + ...ader_With_ObjectParams(SqlServer.2005).sql | 54 + ...r_With_SingleDataParam(SqlServer.2005).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2005).sql | 30 + ...onQuery_WithDataParams(SqlServer.2005).sql | 81 + ...Query_WithObjectParams(SqlServer.2005).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2005).sql | 30 + ...alar_WithDataParameter(SqlServer.2005).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2005).sql | 81 + ...calar_WithObjectParams(SqlServer.2005).sql | 54 + ...tExtensionsTests.Query(SqlServer.2005).sql | 30 + ...chAsync_WithDataParams(SqlServer.2005).sql | 54 + ...Async_WithObjectParams(SqlServer.2005).sql | 27 + ...hReader_And_DataParams(SqlServer.2005).sql | 54 + ...eader_And_ObjectParams(SqlServer.2005).sql | 27 + ...ltiple_With_DataParams(SqlServer.2005).sql | 99 + ...ltiple_With_DataParams(SqlServer.2005).sql | 117 + ...iple_With_ObjectParams(SqlServer.2005).sql | 78 + ...hReader_And_DataParams(SqlServer.2005).sql | 99 + ...eader_And_ObjectParams(SqlServer.2005).sql | 66 + ...emplate_And_DataParams(SqlServer.2005).sql | 99 + ...plate_And_ObjectParams(SqlServer.2005).sql | 66 + ...ryProc_With_DataParams(SqlServer.2005).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2005).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2005).sql | 15 + ...sync_WithDataParameter(SqlServer.2005).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2005).sql | 54 + ...Async_WithObjectParams(SqlServer.2005).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2005).sql | 15 + ...hReader_And_DataParams(SqlServer.2005).sql | 54 + ...eader_And_ObjectParams(SqlServer.2005).sql | 27 + ...emplate_And_DataParams(SqlServer.2005).sql | 54 + ...plate_And_ObjectParams(SqlServer.2005).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2005).sql | 15 + ...able_WithDataParameter(SqlServer.2005).sql | 21 + ...merable_WithDataParams(SqlServer.2005).sql | 27 + ...rable_WithObjectParams(SqlServer.2005).sql | 27 + ...cEnumerable_WithReader(SqlServer.2005).sql | 15 + ...hReader_And_DataParams(SqlServer.2005).sql | 27 + ...eader_And_ObjectParams(SqlServer.2005).sql | 27 + ...emplate_And_DataParams(SqlServer.2005).sql | 27 + ...plate_And_ObjectParams(SqlServer.2005).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2005).sql | 15 + ...stAsync_WithDataParams(SqlServer.2005).sql | 54 + ...Async_WithDataParmeter(SqlServer.2005).sql | 21 + ...Async_WithObjectParams(SqlServer.2005).sql | 27 + ...ToListAsync_WithReader(SqlServer.2005).sql | 15 + ...hReader_And_DataParams(SqlServer.2005).sql | 54 + ...eader_And_ObjectParams(SqlServer.2005).sql | 27 + ...emplate_And_DataParams(SqlServer.2005).sql | 54 + ...plate_And_ObjectParams(SqlServer.2005).sql | 27 + ...s.Query_And_DataParams(SqlServer.2005).sql | 81 + ...Query_And_ObjectParams(SqlServer.2005).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2005).sql | 42 + ...Tests.Query_WithReader(SqlServer.2005).sql | 30 + ...hReader_And_DataParams(SqlServer.2005).sql | 81 + ...eader_And_ObjectParams(SqlServer.2005).sql | 54 + ...emplate_And_DataParams(SqlServer.2005).sql | 81 + ...plate_And_ObjectParams(SqlServer.2005).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2005).sql | 54 + 148 files changed, 18012 insertions(+) create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,MultipleRows).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,ProviderSpecific).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,RowByRow).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,MultipleRows).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,ProviderSpecific).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,RowByRow).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005.MS).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,MultipleRows).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,ProviderSpecific).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,RowByRow).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,MultipleRows).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,ProviderSpecific).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,RowByRow).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005).sql create mode 100644 SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005).sql diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,MultipleRows).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,MultipleRows).sql new file mode 100644 index 000000000000..85fe2ce3f0b9 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,ProviderSpecific).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..d5a3b788d0f3 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,RowByRow).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,RowByRow).sql new file mode 100644 index 000000000000..e9f851320836 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,MultipleRows).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,MultipleRows).sql new file mode 100644 index 000000000000..936cd0dda0e7 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,ProviderSpecific).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..76716f2f9a69 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,RowByRow).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,RowByRow).sql new file mode 100644 index 000000000000..681c58201334 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..e5e22f9bdde2 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..0d98482872e1 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..16ae37a973db --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..f85ddfc7eef2 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..7b0e9eb47518 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..fc4875b20077 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..f85ddfc7eef2 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..0783b8b28a78 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..0783b8b28a78 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2658cbb90220 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..942cfe49b404 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..5d6c8b599416 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..aa8e9c887754 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..1592024d0ed0 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..75d3cd5f2bff --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..3717319cb921 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..6bed286de0f6 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a17128642c81 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..7b0e9eb47518 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2130408638d6 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2a7665312ddc --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..81e1b2379bdf --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..e506127cde2f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..c40327df9545 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..e506127cde2f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..c40327df9545 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..e506127cde2f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..c40327df9545 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..697065f1c15c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..201cba8c8797 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2c2d8b8cb901 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..4cdbae92e2df --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2c2d8b8cb901 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2c2d8b8cb901 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..ea5cc09f7e73 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..9f782ba08b7f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..a0ea156f352a --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..34136400262c --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..201cba8c8797 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2c2d8b8cb901 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2929a9984e6f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..f82085a4ff32 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..c82aec75f346 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..7b0e9eb47518 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..2929a9984e6f --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..f82085a4ff32 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..0240b83a62b0 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..c193fe6d8961 --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005.MS).sql b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005.MS).sql new file mode 100644 index 000000000000..e3a31b24db3e --- /dev/null +++ b/SqlServer.2005.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005.MS SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,MultipleRows).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,MultipleRows).sql new file mode 100644 index 000000000000..ad5a36d1c876 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,ProviderSpecific).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,ProviderSpecific).sql new file mode 100644 index 000000000000..985432a388cb --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,RowByRow).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,RowByRow).sql new file mode 100644 index 000000000000..a05181f14b45 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2005,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,MultipleRows).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,MultipleRows).sql new file mode 100644 index 000000000000..5b239dab1d58 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,ProviderSpecific).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,ProviderSpecific).sql new file mode 100644 index 000000000000..40016a05f869 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,RowByRow).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,RowByRow).sql new file mode 100644 index 000000000000..3e8640a59d1c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2005,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2005 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2005 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..ab428f4d2c8b --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..8bc6cfea41cc --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..c32b675f8a5c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..ec081742d424 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005).sql new file mode 100644 index 000000000000..373e413d2ad1 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2005).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..1a41de595b99 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..ec081742d424 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..50f4c18a3595 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005).sql new file mode 100644 index 000000000000..50f4c18a3595 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..310939958503 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005).sql new file mode 100644 index 000000000000..4ef8efd19954 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2005).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005).sql new file mode 100644 index 000000000000..aa7b6dcf9261 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2005).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..5aaf574c643c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..65a31b1e1b05 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005).sql new file mode 100644 index 000000000000..5a33493f3eff --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2005).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005 + +SELECT 5 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005).sql new file mode 100644 index 000000000000..5723eb418bf8 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2005).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e9df3984b447 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..73ccff3be511 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005).sql new file mode 100644 index 000000000000..373e413d2ad1 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2005).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..576b73639be8 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2005).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..c63e659df36f --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2005).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..4c97b5edf70b --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e01d8e8a2e59 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7df95315983c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e01d8e8a2e59 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7df95315983c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e01d8e8a2e59 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2005).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7df95315983c --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005).sql new file mode 100644 index 000000000000..4ac4778ab18b --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2005).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..ab2a60f145d8 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7f91ba2c6e86 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005).sql new file mode 100644 index 000000000000..b6bce39a8c5a --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2005).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7f91ba2c6e86 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7f91ba2c6e86 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005).sql new file mode 100644 index 000000000000..776c4a0d7681 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2005).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005).sql new file mode 100644 index 000000000000..1a4f2d4aa8b6 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2005).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..bee19926f170 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..e99f2a0e5465 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..ab2a60f145d8 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..7f91ba2c6e86 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..405e2510a6dd --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..52f77c33e137 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005).sql new file mode 100644 index 000000000000..3e449b5d4947 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2005).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005).sql new file mode 100644 index 000000000000..373e413d2ad1 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2005).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2005 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..405e2510a6dd --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..52f77c33e137 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005).sql new file mode 100644 index 000000000000..76aa8bb62f7f --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2005).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005).sql new file mode 100644 index 000000000000..f43505a70e56 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005).sql b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005).sql new file mode 100644 index 000000000000..6dd9b3eb0b71 --- /dev/null +++ b/SqlServer.2005/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2005).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2005 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From da908c12b475224c2baf8b9371929f928dc92a1c Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:46:05 +0000 Subject: [PATCH 04/41] [Windows / SQLite (both providers)] baselines --- ...numerable(SQLite.Classic,MultipleRows).sql | 522 +++++ ...rable(SQLite.Classic,ProviderSpecific).sql | 522 +++++ ...yncEnumerable(SQLite.Classic,RowByRow).sql | 954 +++++++++ ...numerable(SQLite.Classic,MultipleRows).sql | 1044 +++++++++ ...rable(SQLite.Classic,ProviderSpecific).sql | 1044 +++++++++ ...py_Enumerable(SQLite.Classic,RowByRow).sql | 1908 +++++++++++++++++ ...andAutoMergeAsync(SQLite.Classic,FTS3).sql | 5 + ...andAutoMergeAsync(SQLite.Classic,FTS4).sql | 5 + ...tegrityCheckAsync(SQLite.Classic,FTS3).sql | 5 + ...tegrityCheckAsync(SQLite.Classic,FTS4).sql | 5 + ...CommandMergeAsync(SQLite.Classic,FTS3).sql | 5 + ...CommandMergeAsync(SQLite.Classic,FTS4).sql | 5 + ...mandOptimizeAsync(SQLite.Classic,FTS3).sql | 5 + ...mandOptimizeAsync(SQLite.Classic,FTS4).sql | 5 + ...mmandRebuildAsync(SQLite.Classic,FTS3).sql | 5 + ...mmandRebuildAsync(SQLite.Classic,FTS4).sql | 5 + ...5CommandAutoMergeAsync(SQLite.Classic).sql | 5 + ...ommandCrisisMergeAsync(SQLite.Classic).sql | 5 + ...5CommandDeleteAllAsync(SQLite.Classic).sql | 5 + ...Fts5CommandDeleteAsync(SQLite.Classic).sql | 9 + ...andIntegrityCheckAsync(SQLite.Classic).sql | 5 + ....Fts5CommandMergeAsync(SQLite.Classic).sql | 5 + ...s5CommandOptimizeAsync(SQLite.Classic).sql | 5 + ...s.Fts5CommandPgszAsync(SQLite.Classic).sql | 5 + ...s.Fts5CommandRankasync(SQLite.Classic).sql | 7 + ...ts5CommandRebuildAsync(SQLite.Classic).sql | 5 + ...5CommandUserMergeAsync(SQLite.Classic).sql | 5 + ...syncEnumerable(SQLite.MS,MultipleRows).sql | 522 +++++ ...Enumerable(SQLite.MS,ProviderSpecific).sql | 522 +++++ ...py_AsyncEnumerable(SQLite.MS,RowByRow).sql | 954 +++++++++ ...opy_Enumerable(SQLite.MS,MultipleRows).sql | 1044 +++++++++ ...Enumerable(SQLite.MS,ProviderSpecific).sql | 1044 +++++++++ ...ulkCopy_Enumerable(SQLite.MS,RowByRow).sql | 1908 +++++++++++++++++ ...3CommandAutoMergeAsync(SQLite.MS,FTS3).sql | 5 + ...3CommandAutoMergeAsync(SQLite.MS,FTS4).sql | 5 + ...andIntegrityCheckAsync(SQLite.MS,FTS3).sql | 5 + ...andIntegrityCheckAsync(SQLite.MS,FTS4).sql | 5 + ....Fts3CommandMergeAsync(SQLite.MS,FTS3).sql | 5 + ....Fts3CommandMergeAsync(SQLite.MS,FTS4).sql | 5 + ...s3CommandOptimizeAsync(SQLite.MS,FTS3).sql | 5 + ...s3CommandOptimizeAsync(SQLite.MS,FTS4).sql | 5 + ...ts3CommandRebuildAsync(SQLite.MS,FTS3).sql | 5 + ...ts3CommandRebuildAsync(SQLite.MS,FTS4).sql | 5 + ...s.Fts5CommandAutoMergeAsync(SQLite.MS).sql | 5 + ...Fts5CommandCrisisMergeAsync(SQLite.MS).sql | 5 + ...s.Fts5CommandDeleteAllAsync(SQLite.MS).sql | 5 + ...ests.Fts5CommandDeleteAsync(SQLite.MS).sql | 9 + ...5CommandIntegrityCheckAsync(SQLite.MS).sql | 5 + ...Tests.Fts5CommandMergeAsync(SQLite.MS).sql | 5 + ...ts.Fts5CommandOptimizeAsync(SQLite.MS).sql | 5 + ...tTests.Fts5CommandPgszAsync(SQLite.MS).sql | 5 + ...tTests.Fts5CommandRankasync(SQLite.MS).sql | 7 + ...sts.Fts5CommandRebuildAsync(SQLite.MS).sql | 5 + ...s.Fts5CommandUserMergeAsync(SQLite.MS).sql | 5 + 54 files changed, 12210 insertions(+) create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,MultipleRows).sql create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,ProviderSpecific).sql create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,RowByRow).sql create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,MultipleRows).sql create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,ProviderSpecific).sql create mode 100644 SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,RowByRow).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS3).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS4).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS3).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS4).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS3).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS4).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS3).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS4).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS3).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS4).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic).sql create mode 100644 SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,MultipleRows).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,ProviderSpecific).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,RowByRow).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,MultipleRows).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,ProviderSpecific).sql create mode 100644 SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,RowByRow).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS3).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS4).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS3).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS4).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS3).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS4).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS3).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS4).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS3).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS4).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.MS).sql create mode 100644 SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.MS).sql diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,MultipleRows).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,MultipleRows).sql new file mode 100644 index 000000000000..3223cdbc71a9 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,ProviderSpecific).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,ProviderSpecific).sql new file mode 100644 index 000000000000..3223cdbc71a9 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,ProviderSpecific).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,RowByRow).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,RowByRow).sql new file mode 100644 index 000000000000..f9e8e3eb7ca8 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.Classic,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,MultipleRows).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,MultipleRows).sql new file mode 100644 index 000000000000..bbc75f5ddda9 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,ProviderSpecific).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,ProviderSpecific).sql new file mode 100644 index 000000000000..bbc75f5ddda9 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,ProviderSpecific).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,RowByRow).sql b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,RowByRow).sql new file mode 100644 index 000000000000..f3137d52d0ea --- /dev/null +++ b/SQLite.Classic/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.Classic,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.Classic SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.Classic SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS3).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS3).sql new file mode 100644 index 000000000000..09e7d91bc4f9 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS4).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS4).sql new file mode 100644 index 000000000000..e629483c84d8 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.Classic,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS3).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS3).sql new file mode 100644 index 000000000000..aee78e7ce284 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS4).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS4).sql new file mode 100644 index 000000000000..537336b8ef37 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.Classic,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS3).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS3).sql new file mode 100644 index 000000000000..744570027bde --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS4).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS4).sql new file mode 100644 index 000000000000..3365f6ee8e45 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.Classic,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS3).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS3).sql new file mode 100644 index 000000000000..f0a970d23bc5 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS4).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS4).sql new file mode 100644 index 000000000000..a82f4d9348e8 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.Classic,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS3).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS3).sql new file mode 100644 index 000000000000..b2917b0cc4b3 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS4).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS4).sql new file mode 100644 index 000000000000..26dc7831b0f0 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.Classic,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..48ce1045c280 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('automerge', 5) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..2db93824ca28 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('crisismerge', 2) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..32ac6224d939 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('delete-all') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..01db26776a33 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.Classic).sql @@ -0,0 +1,9 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @p0 VarChar(3) -- AnsiString +SET @p0 = 'one' +DECLARE @p1 VarChar(3) -- AnsiString +SET @p1 = 'two' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rowid, [text1], [text2]) VALUES('delete', 2, @p0, @p1) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..6707bd62a967 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..b6d5d096bf79 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('merge', 234) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..a374900164cb --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('optimize') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..7900cd1e134f --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('pgsz', 3333) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic).sql new file mode 100644 index 000000000000..0ae9a3042a7b --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.Classic).sql @@ -0,0 +1,7 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) +DECLARE @rank VarChar(19) -- AnsiString +SET @rank = 'strange(''function")' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('rank', @rank) + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..174f2683889f --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('rebuild') + diff --git a/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic).sql b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic).sql new file mode 100644 index 000000000000..a1cebc436e43 --- /dev/null +++ b/SQLite.Classic/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.Classic).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.Classic SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('usermerge', 7) + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,MultipleRows).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,MultipleRows).sql new file mode 100644 index 000000000000..dba8690b97c8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,ProviderSpecific).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..dba8690b97c8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,ProviderSpecific).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,RowByRow).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,RowByRow).sql new file mode 100644 index 000000000000..74f939ba2b9c --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SQLite.MS,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,MultipleRows).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,MultipleRows).sql new file mode 100644 index 000000000000..ce4b20752ed8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,ProviderSpecific).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..ce4b20752ed8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,ProviderSpecific).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,RowByRow).sql b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,RowByRow).sql new file mode 100644 index 000000000000..f6dd15a065dc --- /dev/null +++ b/SQLite.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SQLite.MS,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 1 +DECLARE @Value -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @Id -- Int32 +SET @Id = 2 +DECLARE @Value -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SQLite.MS SQLite + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SQLite.MS SQLite + +DELETE FROM + [BulkCopyTable] + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS3).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS3).sql new file mode 100644 index 000000000000..ed91003f0fe8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS4).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS4).sql new file mode 100644 index 000000000000..c08bc28ca455 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandAutoMergeAsync(SQLite.MS,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('automerge=5') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS3).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS3).sql new file mode 100644 index 000000000000..67bb5b4b1471 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS4).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS4).sql new file mode 100644 index 000000000000..15b150a5acc4 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandIntegrityCheckAsync(SQLite.MS,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS3).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS3).sql new file mode 100644 index 000000000000..46c45640b15d --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS4).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS4).sql new file mode 100644 index 000000000000..c335ebc97a04 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandMergeAsync(SQLite.MS,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('merge=4,3') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS3).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS3).sql new file mode 100644 index 000000000000..dca020582954 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('optimize') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS4).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS4).sql new file mode 100644 index 000000000000..11e70b1c9da4 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandOptimizeAsync(SQLite.MS,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('optimize') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS3).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS3).sql new file mode 100644 index 000000000000..157a53f3cda1 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS3).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS3_TABLE]([FTS3_TABLE]) VALUES('rebuild') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS4).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS4).sql new file mode 100644 index 000000000000..3325f4318594 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts3CommandRebuildAsync(SQLite.MS,FTS4).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS4_TABLE]([FTS4_TABLE]) VALUES('rebuild') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.MS).sql new file mode 100644 index 000000000000..a3099980114b --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandAutoMergeAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('automerge', 5) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.MS).sql new file mode 100644 index 000000000000..4bcdbc605bb0 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandCrisisMergeAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('crisismerge', 2) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.MS).sql new file mode 100644 index 000000000000..5dfde26b1dd8 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAllAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('delete-all') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.MS).sql new file mode 100644 index 000000000000..0badf92e9207 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandDeleteAsync(SQLite.MS).sql @@ -0,0 +1,9 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @p0 VarChar(3) -- AnsiString +SET @p0 = 'one' +DECLARE @p1 VarChar(3) -- AnsiString +SET @p1 = 'two' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rowid, [text1], [text2]) VALUES('delete', 2, @p0, @p1) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.MS).sql new file mode 100644 index 000000000000..da1107f955c4 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandIntegrityCheckAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('integrity-check') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.MS).sql new file mode 100644 index 000000000000..491550fa2c5e --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandMergeAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('merge', 234) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.MS).sql new file mode 100644 index 000000000000..d7fbc96e4957 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandOptimizeAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('optimize') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.MS).sql new file mode 100644 index 000000000000..1a2b32e087b0 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandPgszAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('pgsz', 3333) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.MS).sql new file mode 100644 index 000000000000..716b74d57526 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRankasync(SQLite.MS).sql @@ -0,0 +1,7 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) +DECLARE @rank VarChar(19) -- AnsiString +SET @rank = 'strange(''function")' + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('rank', @rank) + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.MS).sql new file mode 100644 index 000000000000..1e063c20f223 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandRebuildAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE]) VALUES('rebuild') + diff --git a/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.MS).sql b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.MS).sql new file mode 100644 index 000000000000..7b199678ef74 --- /dev/null +++ b/SQLite.MS/Tests/Linq/FullTextTests/Tests.Linq.FullTextTests.Fts5CommandUserMergeAsync(SQLite.MS).sql @@ -0,0 +1,5 @@ +BeforeExecute +-- SQLite.MS SQLite (asynchronously) + +INSERT INTO [FTS5_TABLE]([FTS5_TABLE], rank) VALUES('usermerge', 7) + From bcb5bfff7fe03fc4cad408f0b548579fcecf3fcb Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:48:52 +0000 Subject: [PATCH 05/41] [Windows / SQL Server 2012] baselines --- ...erable(SqlServer.2012.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2012.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2012.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2012.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2012.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2012.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2012.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2012.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2012.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2012.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2012.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2012.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2012.MS).sql | 54 + ...der_With_DataParams(SqlServer.2012.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2012.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2012.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2012.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2012.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2012.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2012.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2012.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2012.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2012.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2012.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2012.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2012.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2012.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2012.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2012.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2012.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 66 + ...late_And_DataParams(SqlServer.2012.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2012.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2012.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2012.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2012.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2012.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2012.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2012.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2012.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...late_And_DataParams(SqlServer.2012.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2012.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2012.MS).sql | 21 + ...able_WithDataParams(SqlServer.2012.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2012.MS).sql | 27 + ...umerable_WithReader(SqlServer.2012.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...late_And_DataParams(SqlServer.2012.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2012.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2012.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2012.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2012.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2012.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...late_And_DataParams(SqlServer.2012.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2012.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2012.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2012.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2012.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2012.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2012.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2012.MS).sql | 54 + ...late_And_DataParams(SqlServer.2012.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2012.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2012.MS).sql | 54 + ...numerable(SqlServer.2012,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2012,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2012,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2012,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2012,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2012,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2012).sql | 81 + ...Query_WithObjectParams(SqlServer.2012).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2012).sql | 81 + ...calar_WithObjectParams(SqlServer.2012).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2012).sql | 30 + ...erProc_With_DataParams(SqlServer.2012).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2012).sql | 54 + ...Reader_With_DataParams(SqlServer.2012).sql | 81 + ...DataParams_AndBehavior(SqlServer.2012).sql | 81 + ...ader_With_ObjectParams(SqlServer.2012).sql | 54 + ...r_With_SingleDataParam(SqlServer.2012).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2012).sql | 30 + ...onQuery_WithDataParams(SqlServer.2012).sql | 81 + ...Query_WithObjectParams(SqlServer.2012).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2012).sql | 30 + ...alar_WithDataParameter(SqlServer.2012).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2012).sql | 81 + ...calar_WithObjectParams(SqlServer.2012).sql | 54 + ...tExtensionsTests.Query(SqlServer.2012).sql | 30 + ...chAsync_WithDataParams(SqlServer.2012).sql | 54 + ...Async_WithObjectParams(SqlServer.2012).sql | 27 + ...hReader_And_DataParams(SqlServer.2012).sql | 54 + ...eader_And_ObjectParams(SqlServer.2012).sql | 27 + ...ltiple_With_DataParams(SqlServer.2012).sql | 99 + ...ltiple_With_DataParams(SqlServer.2012).sql | 117 + ...iple_With_ObjectParams(SqlServer.2012).sql | 78 + ...hReader_And_DataParams(SqlServer.2012).sql | 99 + ...eader_And_ObjectParams(SqlServer.2012).sql | 66 + ...emplate_And_DataParams(SqlServer.2012).sql | 99 + ...plate_And_ObjectParams(SqlServer.2012).sql | 66 + ...ryProc_With_DataParams(SqlServer.2012).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2012).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2012).sql | 15 + ...sync_WithDataParameter(SqlServer.2012).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2012).sql | 54 + ...Async_WithObjectParams(SqlServer.2012).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2012).sql | 15 + ...hReader_And_DataParams(SqlServer.2012).sql | 54 + ...eader_And_ObjectParams(SqlServer.2012).sql | 27 + ...emplate_And_DataParams(SqlServer.2012).sql | 54 + ...plate_And_ObjectParams(SqlServer.2012).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2012).sql | 15 + ...able_WithDataParameter(SqlServer.2012).sql | 21 + ...merable_WithDataParams(SqlServer.2012).sql | 27 + ...rable_WithObjectParams(SqlServer.2012).sql | 27 + ...cEnumerable_WithReader(SqlServer.2012).sql | 15 + ...hReader_And_DataParams(SqlServer.2012).sql | 27 + ...eader_And_ObjectParams(SqlServer.2012).sql | 27 + ...emplate_And_DataParams(SqlServer.2012).sql | 27 + ...plate_And_ObjectParams(SqlServer.2012).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2012).sql | 15 + ...stAsync_WithDataParams(SqlServer.2012).sql | 54 + ...Async_WithDataParmeter(SqlServer.2012).sql | 21 + ...Async_WithObjectParams(SqlServer.2012).sql | 27 + ...ToListAsync_WithReader(SqlServer.2012).sql | 15 + ...hReader_And_DataParams(SqlServer.2012).sql | 54 + ...eader_And_ObjectParams(SqlServer.2012).sql | 27 + ...emplate_And_DataParams(SqlServer.2012).sql | 54 + ...plate_And_ObjectParams(SqlServer.2012).sql | 27 + ...s.Query_And_DataParams(SqlServer.2012).sql | 81 + ...Query_And_ObjectParams(SqlServer.2012).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2012).sql | 42 + ...Tests.Query_WithReader(SqlServer.2012).sql | 30 + ...hReader_And_DataParams(SqlServer.2012).sql | 81 + ...eader_And_ObjectParams(SqlServer.2012).sql | 54 + ...emplate_And_DataParams(SqlServer.2012).sql | 81 + ...plate_And_ObjectParams(SqlServer.2012).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2012).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,MultipleRows).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,ProviderSpecific).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,RowByRow).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,MultipleRows).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,ProviderSpecific).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,RowByRow).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012.MS).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,MultipleRows).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,ProviderSpecific).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,RowByRow).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,MultipleRows).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,ProviderSpecific).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,RowByRow).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012).sql create mode 100644 SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012).sql diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,MultipleRows).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,MultipleRows).sql new file mode 100644 index 000000000000..641e178b6168 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,ProviderSpecific).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..a726b3aed926 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,RowByRow).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,RowByRow).sql new file mode 100644 index 000000000000..c1352ee8e944 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,MultipleRows).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,MultipleRows).sql new file mode 100644 index 000000000000..a0f5ff40b77f --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,ProviderSpecific).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..e1bd13d9791b --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,RowByRow).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,RowByRow).sql new file mode 100644 index 000000000000..4526bca7ff29 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..c0a115363e29 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..07d54a32fac4 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..2101c01001a9 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4c898eb48177 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..c31a0f2bbd7c --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..aef4bdc6ef76 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4c898eb48177 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..f16c1d81a8be --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..f16c1d81a8be --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..b69ae8e4484d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..b0c330f797ef --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..01385ff010b7 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..20d1dec0d695 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..3f3bdc9945ef --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..de49d56433c1 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..740e9e6e4ff1 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..cfa7dc53cd87 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..14b39810590e --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..c31a0f2bbd7c --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..ed32e6b98f2e --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..2478953be33e --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..568e1dda6036 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..caec0f168d47 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..fcbf2ced9442 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..caec0f168d47 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..fcbf2ced9442 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..caec0f168d47 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..fcbf2ced9442 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..2f32ec310ced --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1593a1499699 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4e68ddbc1853 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..73093c969e15 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4e68ddbc1853 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4e68ddbc1853 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..33ce4e537733 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..d157fe4fa91d --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1cf10ab1b9cc --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..7c3d773eadd3 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..1593a1499699 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..4e68ddbc1853 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..e7ecf09e6fd0 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..ad543f2bdae2 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..b7fbc273dd84 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..c31a0f2bbd7c --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..e7ecf09e6fd0 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..ad543f2bdae2 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..50a3e055293a --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..e39ed1b2dddf --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012.MS).sql b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012.MS).sql new file mode 100644 index 000000000000..3243cea56230 --- /dev/null +++ b/SqlServer.2012.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012.MS SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,MultipleRows).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,MultipleRows).sql new file mode 100644 index 000000000000..2621ca20833a --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,ProviderSpecific).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,ProviderSpecific).sql new file mode 100644 index 000000000000..4f5955606777 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,RowByRow).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,RowByRow).sql new file mode 100644 index 000000000000..8db3fc8d4388 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2012,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,MultipleRows).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,MultipleRows).sql new file mode 100644 index 000000000000..6f4baf309566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,ProviderSpecific).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,ProviderSpecific).sql new file mode 100644 index 000000000000..cb1d562056d8 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,RowByRow).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,RowByRow).sql new file mode 100644 index 000000000000..bc77667d062c --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2012,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2012 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2012 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..eb1f522433d4 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..5deae73dbf88 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..c3661fdbc6fe --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..09a4425e4dd2 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012).sql new file mode 100644 index 000000000000..c27155dac0ac --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2012).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..883fb65975d8 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..09a4425e4dd2 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..83ad33aaa6ea --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012).sql new file mode 100644 index 000000000000..83ad33aaa6ea --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3441fad5bf4d --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012).sql new file mode 100644 index 000000000000..f09992257dd7 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2012).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012).sql new file mode 100644 index 000000000000..16fe4660b6c1 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2012).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..f41a326589eb --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..9a126be32388 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012).sql new file mode 100644 index 000000000000..f36e5152930a --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2012).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012 + +SELECT 5 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012).sql new file mode 100644 index 000000000000..c559416786ec --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2012).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..ef8c5e6f4810 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..e9e85e8cfc41 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012).sql new file mode 100644 index 000000000000..c27155dac0ac --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2012).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..5c66a1b56647 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2012).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..e1f9486b00a0 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2012).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..0572cc548eae --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..e27fd269a26d --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..1b05b7aa9b84 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..e27fd269a26d --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..1b05b7aa9b84 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..e27fd269a26d --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2012).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..1b05b7aa9b84 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012).sql new file mode 100644 index 000000000000..da8ceb0df147 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2012).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..83384acab2f6 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..2d4dc309bc8b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012).sql new file mode 100644 index 000000000000..f3edcec7cf6e --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2012).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..2d4dc309bc8b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..2d4dc309bc8b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012).sql new file mode 100644 index 000000000000..bfd0ca843d1f --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2012).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012).sql new file mode 100644 index 000000000000..119b20b0d116 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2012).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..6e301248a5af --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..3c77031e9566 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..83384acab2f6 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..2d4dc309bc8b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..23bf60f4c35b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..ac3cdac14518 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012).sql new file mode 100644 index 000000000000..3614813c2fc8 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2012).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012).sql new file mode 100644 index 000000000000..c27155dac0ac --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2012).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2012 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..23bf60f4c35b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..ac3cdac14518 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012).sql new file mode 100644 index 000000000000..94238d560559 --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2012).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012).sql new file mode 100644 index 000000000000..814779eed87d --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012).sql b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012).sql new file mode 100644 index 000000000000..148cf3ad3a1b --- /dev/null +++ b/SqlServer.2012/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2012).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2012 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 2143bbf9d11388faafc9125a73a2ca946b26921b Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:50:28 +0000 Subject: [PATCH 06/41] [Windows / SQL Server 2008] baselines --- ...erable(SqlServer.2008.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2008.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2008.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2008.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2008.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2008.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2008.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2008.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2008.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2008.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2008.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2008.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2008.MS).sql | 54 + ...der_With_DataParams(SqlServer.2008.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2008.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2008.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2008.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2008.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2008.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2008.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2008.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2008.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2008.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2008.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2008.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2008.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2008.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2008.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2008.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2008.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 66 + ...late_And_DataParams(SqlServer.2008.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2008.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2008.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2008.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2008.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2008.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2008.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2008.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2008.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...late_And_DataParams(SqlServer.2008.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2008.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2008.MS).sql | 21 + ...able_WithDataParams(SqlServer.2008.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2008.MS).sql | 27 + ...umerable_WithReader(SqlServer.2008.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...late_And_DataParams(SqlServer.2008.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2008.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2008.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2008.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2008.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2008.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...late_And_DataParams(SqlServer.2008.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2008.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2008.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2008.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2008.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2008.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2008.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2008.MS).sql | 54 + ...late_And_DataParams(SqlServer.2008.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2008.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2008.MS).sql | 54 + ...numerable(SqlServer.2008,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2008,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2008,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2008,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2008,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2008,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2008).sql | 81 + ...Query_WithObjectParams(SqlServer.2008).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2008).sql | 81 + ...calar_WithObjectParams(SqlServer.2008).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2008).sql | 30 + ...erProc_With_DataParams(SqlServer.2008).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2008).sql | 54 + ...Reader_With_DataParams(SqlServer.2008).sql | 81 + ...DataParams_AndBehavior(SqlServer.2008).sql | 81 + ...ader_With_ObjectParams(SqlServer.2008).sql | 54 + ...r_With_SingleDataParam(SqlServer.2008).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2008).sql | 30 + ...onQuery_WithDataParams(SqlServer.2008).sql | 81 + ...Query_WithObjectParams(SqlServer.2008).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2008).sql | 30 + ...alar_WithDataParameter(SqlServer.2008).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2008).sql | 81 + ...calar_WithObjectParams(SqlServer.2008).sql | 54 + ...tExtensionsTests.Query(SqlServer.2008).sql | 30 + ...chAsync_WithDataParams(SqlServer.2008).sql | 54 + ...Async_WithObjectParams(SqlServer.2008).sql | 27 + ...hReader_And_DataParams(SqlServer.2008).sql | 54 + ...eader_And_ObjectParams(SqlServer.2008).sql | 27 + ...ltiple_With_DataParams(SqlServer.2008).sql | 99 + ...ltiple_With_DataParams(SqlServer.2008).sql | 117 + ...iple_With_ObjectParams(SqlServer.2008).sql | 78 + ...hReader_And_DataParams(SqlServer.2008).sql | 99 + ...eader_And_ObjectParams(SqlServer.2008).sql | 66 + ...emplate_And_DataParams(SqlServer.2008).sql | 99 + ...plate_And_ObjectParams(SqlServer.2008).sql | 66 + ...ryProc_With_DataParams(SqlServer.2008).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2008).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2008).sql | 15 + ...sync_WithDataParameter(SqlServer.2008).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2008).sql | 54 + ...Async_WithObjectParams(SqlServer.2008).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2008).sql | 15 + ...hReader_And_DataParams(SqlServer.2008).sql | 54 + ...eader_And_ObjectParams(SqlServer.2008).sql | 27 + ...emplate_And_DataParams(SqlServer.2008).sql | 54 + ...plate_And_ObjectParams(SqlServer.2008).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2008).sql | 15 + ...able_WithDataParameter(SqlServer.2008).sql | 21 + ...merable_WithDataParams(SqlServer.2008).sql | 27 + ...rable_WithObjectParams(SqlServer.2008).sql | 27 + ...cEnumerable_WithReader(SqlServer.2008).sql | 15 + ...hReader_And_DataParams(SqlServer.2008).sql | 27 + ...eader_And_ObjectParams(SqlServer.2008).sql | 27 + ...emplate_And_DataParams(SqlServer.2008).sql | 27 + ...plate_And_ObjectParams(SqlServer.2008).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2008).sql | 15 + ...stAsync_WithDataParams(SqlServer.2008).sql | 54 + ...Async_WithDataParmeter(SqlServer.2008).sql | 21 + ...Async_WithObjectParams(SqlServer.2008).sql | 27 + ...ToListAsync_WithReader(SqlServer.2008).sql | 15 + ...hReader_And_DataParams(SqlServer.2008).sql | 54 + ...eader_And_ObjectParams(SqlServer.2008).sql | 27 + ...emplate_And_DataParams(SqlServer.2008).sql | 54 + ...plate_And_ObjectParams(SqlServer.2008).sql | 27 + ...s.Query_And_DataParams(SqlServer.2008).sql | 81 + ...Query_And_ObjectParams(SqlServer.2008).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2008).sql | 42 + ...Tests.Query_WithReader(SqlServer.2008).sql | 30 + ...hReader_And_DataParams(SqlServer.2008).sql | 81 + ...eader_And_ObjectParams(SqlServer.2008).sql | 54 + ...emplate_And_DataParams(SqlServer.2008).sql | 81 + ...plate_And_ObjectParams(SqlServer.2008).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2008).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,MultipleRows).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,ProviderSpecific).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,RowByRow).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,MultipleRows).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,ProviderSpecific).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,RowByRow).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008.MS).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,MultipleRows).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,ProviderSpecific).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,RowByRow).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,MultipleRows).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,ProviderSpecific).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,RowByRow).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008).sql create mode 100644 SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008).sql diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,MultipleRows).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,MultipleRows).sql new file mode 100644 index 000000000000..c771ae04d2fb --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,ProviderSpecific).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..531d3f61e9ff --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,RowByRow).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,RowByRow).sql new file mode 100644 index 000000000000..b855cc4eaa12 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,MultipleRows).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,MultipleRows).sql new file mode 100644 index 000000000000..f64afd479095 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,ProviderSpecific).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..754fb3349741 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,RowByRow).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,RowByRow).sql new file mode 100644 index 000000000000..faf48f1b85da --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..34abf8e6b2bb --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..5c558fc2f09a --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..a767a2d3fd16 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..54728d151de2 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..1953faed77e2 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..1d4867697d3d --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..54728d151de2 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..11825e24cbbb --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..11825e24cbbb --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..a9f404c2fc8e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..f0eb9a669c2d --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..66686ad50e7c --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..7b2a68d809af --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..bdc5ab86ca96 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..8685f580c756 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..45b6c1ee1155 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..fd119b496f57 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..b5143ab43057 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..1953faed77e2 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..8469b3039982 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..ac62d19ec315 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..73c0f70c4f07 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..9fd7844a2dec --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..f4969e7f2b36 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..9fd7844a2dec --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..f4969e7f2b36 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..9fd7844a2dec --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..f4969e7f2b36 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..978674b4611e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..576ad7790c0f --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..628113cdab3b --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..53b010cffaac --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..628113cdab3b --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..628113cdab3b --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..24d24c0df25d --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..e80a348d0042 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c441f1afee3e --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..16d5196a7bd1 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..576ad7790c0f --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..628113cdab3b --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..2fa93197a0b5 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..6021c5e75984 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..b0d36277d785 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..1953faed77e2 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..2fa93197a0b5 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..6021c5e75984 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..24719f49afb7 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..c29193484804 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008.MS).sql b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008.MS).sql new file mode 100644 index 000000000000..5f13711f5116 --- /dev/null +++ b/SqlServer.2008.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008.MS SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,MultipleRows).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,MultipleRows).sql new file mode 100644 index 000000000000..8c7fe29d2c2a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,ProviderSpecific).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,ProviderSpecific).sql new file mode 100644 index 000000000000..7ef9e6979f9c --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,RowByRow).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,RowByRow).sql new file mode 100644 index 000000000000..7f4d8c681c02 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2008,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,MultipleRows).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,MultipleRows).sql new file mode 100644 index 000000000000..b6f4c5b706c0 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,ProviderSpecific).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,ProviderSpecific).sql new file mode 100644 index 000000000000..cda60d3387ec --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,RowByRow).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,RowByRow).sql new file mode 100644 index 000000000000..fc2bda5cef1d --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2008,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2008 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2008 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d90175d5ad9e --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..2cb3542f1399 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..ce8f45ad60a7 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..3bd8d1c79784 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008).sql new file mode 100644 index 000000000000..cef6dccb4e25 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2008).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..a0691b200b83 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..3bd8d1c79784 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..da40d3800944 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008).sql new file mode 100644 index 000000000000..da40d3800944 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..866c7118b771 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008).sql new file mode 100644 index 000000000000..6c80ead2f1fc --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2008).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008).sql new file mode 100644 index 000000000000..8a14c0fda4f2 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2008).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..1253edf4981a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..98c1f2dce2a6 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008).sql new file mode 100644 index 000000000000..6aab47c8048b --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2008).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008 + +SELECT 5 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008).sql new file mode 100644 index 000000000000..5228c736962a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2008).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..5995d1fa944b --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..f016ce28d0a6 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008).sql new file mode 100644 index 000000000000..cef6dccb4e25 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2008).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..caf5f1444eb6 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2008).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9e3b15289e85 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2008).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..80b509b57c85 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..1853d79f2ca3 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..bebf6355c96a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..1853d79f2ca3 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..bebf6355c96a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..1853d79f2ca3 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2008).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..bebf6355c96a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008).sql new file mode 100644 index 000000000000..ba705850b018 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2008).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..f62066cc58ce --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d5d9d2f5ba83 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008).sql new file mode 100644 index 000000000000..b50fa4f48f2a --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2008).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d5d9d2f5ba83 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d5d9d2f5ba83 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008).sql new file mode 100644 index 000000000000..6542d1efc6cc --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2008).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008).sql new file mode 100644 index 000000000000..30d54d3c4e22 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2008).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d711e2402976 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..9547837c2795 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..f62066cc58ce --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..d5d9d2f5ba83 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..0125873d1e8d --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..5624ef7fe461 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008).sql new file mode 100644 index 000000000000..16ab450ab1a8 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2008).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008).sql new file mode 100644 index 000000000000..cef6dccb4e25 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2008).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2008 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..0125873d1e8d --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..5624ef7fe461 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008).sql new file mode 100644 index 000000000000..cd306334198d --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2008).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008).sql new file mode 100644 index 000000000000..f21038a362a8 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008).sql b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008).sql new file mode 100644 index 000000000000..3a3e3fdf78a9 --- /dev/null +++ b/SqlServer.2008/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2008).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2008 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 8d7a6e72372ad023f71b639e95ec99da13084a11 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:50:37 +0000 Subject: [PATCH 07/41] [Windows / SQL Server 2016] baselines --- ...erable(SqlServer.2016.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2016.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2016.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2016.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2016.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2016.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2016.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2016.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2016.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2016.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2016.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2016.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2016.MS).sql | 54 + ...der_With_DataParams(SqlServer.2016.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2016.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2016.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2016.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2016.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2016.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2016.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2016.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2016.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2016.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2016.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2016.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2016.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2016.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2016.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2016.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2016.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 66 + ...late_And_DataParams(SqlServer.2016.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2016.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2016.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2016.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2016.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2016.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2016.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2016.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2016.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...late_And_DataParams(SqlServer.2016.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2016.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2016.MS).sql | 21 + ...able_WithDataParams(SqlServer.2016.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2016.MS).sql | 27 + ...umerable_WithReader(SqlServer.2016.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...late_And_DataParams(SqlServer.2016.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2016.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2016.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2016.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2016.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2016.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...late_And_DataParams(SqlServer.2016.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2016.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2016.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2016.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2016.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2016.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2016.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2016.MS).sql | 54 + ...late_And_DataParams(SqlServer.2016.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2016.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2016.MS).sql | 54 + ...numerable(SqlServer.2016,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2016,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2016,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2016,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2016,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2016,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2016).sql | 81 + ...Query_WithObjectParams(SqlServer.2016).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2016).sql | 81 + ...calar_WithObjectParams(SqlServer.2016).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2016).sql | 30 + ...erProc_With_DataParams(SqlServer.2016).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2016).sql | 54 + ...Reader_With_DataParams(SqlServer.2016).sql | 81 + ...DataParams_AndBehavior(SqlServer.2016).sql | 81 + ...ader_With_ObjectParams(SqlServer.2016).sql | 54 + ...r_With_SingleDataParam(SqlServer.2016).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2016).sql | 30 + ...onQuery_WithDataParams(SqlServer.2016).sql | 81 + ...Query_WithObjectParams(SqlServer.2016).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2016).sql | 30 + ...alar_WithDataParameter(SqlServer.2016).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2016).sql | 81 + ...calar_WithObjectParams(SqlServer.2016).sql | 54 + ...tExtensionsTests.Query(SqlServer.2016).sql | 30 + ...chAsync_WithDataParams(SqlServer.2016).sql | 54 + ...Async_WithObjectParams(SqlServer.2016).sql | 27 + ...hReader_And_DataParams(SqlServer.2016).sql | 54 + ...eader_And_ObjectParams(SqlServer.2016).sql | 27 + ...ltiple_With_DataParams(SqlServer.2016).sql | 99 + ...ltiple_With_DataParams(SqlServer.2016).sql | 117 + ...iple_With_ObjectParams(SqlServer.2016).sql | 78 + ...hReader_And_DataParams(SqlServer.2016).sql | 99 + ...eader_And_ObjectParams(SqlServer.2016).sql | 66 + ...emplate_And_DataParams(SqlServer.2016).sql | 99 + ...plate_And_ObjectParams(SqlServer.2016).sql | 66 + ...ryProc_With_DataParams(SqlServer.2016).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2016).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2016).sql | 15 + ...sync_WithDataParameter(SqlServer.2016).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2016).sql | 54 + ...Async_WithObjectParams(SqlServer.2016).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2016).sql | 15 + ...hReader_And_DataParams(SqlServer.2016).sql | 54 + ...eader_And_ObjectParams(SqlServer.2016).sql | 27 + ...emplate_And_DataParams(SqlServer.2016).sql | 54 + ...plate_And_ObjectParams(SqlServer.2016).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2016).sql | 15 + ...able_WithDataParameter(SqlServer.2016).sql | 21 + ...merable_WithDataParams(SqlServer.2016).sql | 27 + ...rable_WithObjectParams(SqlServer.2016).sql | 27 + ...cEnumerable_WithReader(SqlServer.2016).sql | 15 + ...hReader_And_DataParams(SqlServer.2016).sql | 27 + ...eader_And_ObjectParams(SqlServer.2016).sql | 27 + ...emplate_And_DataParams(SqlServer.2016).sql | 27 + ...plate_And_ObjectParams(SqlServer.2016).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2016).sql | 15 + ...stAsync_WithDataParams(SqlServer.2016).sql | 54 + ...Async_WithDataParmeter(SqlServer.2016).sql | 21 + ...Async_WithObjectParams(SqlServer.2016).sql | 27 + ...ToListAsync_WithReader(SqlServer.2016).sql | 15 + ...hReader_And_DataParams(SqlServer.2016).sql | 54 + ...eader_And_ObjectParams(SqlServer.2016).sql | 27 + ...emplate_And_DataParams(SqlServer.2016).sql | 54 + ...plate_And_ObjectParams(SqlServer.2016).sql | 27 + ...s.Query_And_DataParams(SqlServer.2016).sql | 81 + ...Query_And_ObjectParams(SqlServer.2016).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2016).sql | 42 + ...Tests.Query_WithReader(SqlServer.2016).sql | 30 + ...hReader_And_DataParams(SqlServer.2016).sql | 81 + ...eader_And_ObjectParams(SqlServer.2016).sql | 54 + ...emplate_And_DataParams(SqlServer.2016).sql | 81 + ...plate_And_ObjectParams(SqlServer.2016).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2016).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,MultipleRows).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,ProviderSpecific).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,RowByRow).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,MultipleRows).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,ProviderSpecific).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,RowByRow).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016.MS).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,MultipleRows).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,ProviderSpecific).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,RowByRow).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,MultipleRows).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,ProviderSpecific).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,RowByRow).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016).sql create mode 100644 SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016).sql diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,MultipleRows).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,MultipleRows).sql new file mode 100644 index 000000000000..a8faf976559a --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,ProviderSpecific).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..ec32e10b0fea --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,RowByRow).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,RowByRow).sql new file mode 100644 index 000000000000..1c46f6ed6258 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,MultipleRows).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,MultipleRows).sql new file mode 100644 index 000000000000..386ecca6ee17 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,ProviderSpecific).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..accc81809344 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,RowByRow).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,RowByRow).sql new file mode 100644 index 000000000000..ffc6a5834367 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..d609907dc0cb --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..3a0ff40492ae --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..4a14d1a41fb6 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..7be676f8425f --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..c6c6a4370ee3 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..c20c5ed70ccc --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..7be676f8425f --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..7b4f77bd0c6b --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..7b4f77bd0c6b --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..14be7576d1d4 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..784961c7afc3 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..829d7d6ea513 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..b14bc803d7fe --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..cfb3fcac5938 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..8a26c061df45 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..fb159de6c087 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..4878b3a6912f --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..e5443048fddc --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..c6c6a4370ee3 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..8a4887509a71 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..347a4241ee70 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..7f0c8bf77aec --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..38d45910cfe7 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..ee80f74d23ce --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..38d45910cfe7 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..ee80f74d23ce --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..38d45910cfe7 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..ee80f74d23ce --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..9d35dc00a704 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..fb2aa45653af --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..20f3891a1e8d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..aabe73a6e2b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..20f3891a1e8d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..20f3891a1e8d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..b6d34007c189 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..298516a438b1 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..28b4f941952d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..76bdff9e54b9 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..fb2aa45653af --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..20f3891a1e8d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..932251235278 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..65ab47341b99 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..bfe4d9ae9c4d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..c6c6a4370ee3 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..932251235278 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..65ab47341b99 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..64e834bd8f85 --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..a06a7b2cfd9f --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016.MS).sql b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016.MS).sql new file mode 100644 index 000000000000..fc840a26863d --- /dev/null +++ b/SqlServer.2016.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016.MS SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,MultipleRows).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,MultipleRows).sql new file mode 100644 index 000000000000..d1fed7ea9681 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,ProviderSpecific).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,ProviderSpecific).sql new file mode 100644 index 000000000000..ae4a8c34ab5f --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,RowByRow).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,RowByRow).sql new file mode 100644 index 000000000000..d6de988a0031 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2016,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,MultipleRows).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,MultipleRows).sql new file mode 100644 index 000000000000..9086a8beac14 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,ProviderSpecific).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,ProviderSpecific).sql new file mode 100644 index 000000000000..e7c0f991dc4c --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,RowByRow).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,RowByRow).sql new file mode 100644 index 000000000000..d82c1aa395c4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2016,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2016 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2016 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..2ef13f14f5ad --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..ee6481883245 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..ec5c974efe52 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..1e9e4a6bdc98 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016).sql new file mode 100644 index 000000000000..588fc17720a5 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2016).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..43cf7b3e6cfc --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..1e9e4a6bdc98 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..9c0e32e2c742 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016).sql new file mode 100644 index 000000000000..9c0e32e2c742 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..d210f5e12f7e --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016).sql new file mode 100644 index 000000000000..e6fe7aae099f --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2016).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016).sql new file mode 100644 index 000000000000..bf4d8b1c3b2e --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2016).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..e87a9651abfa --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..19b7721dafad --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016).sql new file mode 100644 index 000000000000..d87d7db6694a --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2016).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016 + +SELECT 5 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016).sql new file mode 100644 index 000000000000..ac3f855127cd --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2016).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..8fa2cb5310dc --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..fc015c7e2f01 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016).sql new file mode 100644 index 000000000000..588fc17720a5 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2016).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..7262f70c6217 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2016).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..c6e5424f7583 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2016).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0ece2acae833 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..bc12489f0f22 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..08aa9b002fe4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..bc12489f0f22 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..08aa9b002fe4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..bc12489f0f22 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2016).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..08aa9b002fe4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016).sql new file mode 100644 index 000000000000..356491e0c0fe --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2016).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..adfef2f956b4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..f31ec8c98079 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016).sql new file mode 100644 index 000000000000..38b3e0c4050b --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2016).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..f31ec8c98079 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..f31ec8c98079 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016).sql new file mode 100644 index 000000000000..060f61ed4943 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2016).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016).sql new file mode 100644 index 000000000000..271c71213c72 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2016).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..01704bb1e4e8 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..0d3a29b3ee55 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..adfef2f956b4 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..f31ec8c98079 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..c81fa24f04a1 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..7edda9f6541b --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016).sql new file mode 100644 index 000000000000..cddc2bc0651c --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2016).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016).sql new file mode 100644 index 000000000000..588fc17720a5 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2016).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2016 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..c81fa24f04a1 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..7edda9f6541b --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016).sql new file mode 100644 index 000000000000..5e4b43ec8b8d --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2016).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016).sql new file mode 100644 index 000000000000..4352c3f48f67 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016).sql b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016).sql new file mode 100644 index 000000000000..a3c879313a87 --- /dev/null +++ b/SqlServer.2016/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2016).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2016 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 4624cb9f3ae63ea6ec254d853c8b24c47e35a928 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:51:46 +0000 Subject: [PATCH 08/41] [Windows / SQL Server 2017] baselines --- ...erable(SqlServer.2017.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2017.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2017.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2017.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2017.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2017.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2017.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2017.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2017.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2017.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2017.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2017.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2017.MS).sql | 54 + ...der_With_DataParams(SqlServer.2017.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2017.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2017.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2017.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2017.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2017.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2017.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2017.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2017.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2017.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2017.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2017.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2017.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2017.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2017.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2017.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2017.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 66 + ...late_And_DataParams(SqlServer.2017.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2017.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2017.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2017.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2017.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2017.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2017.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2017.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2017.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...late_And_DataParams(SqlServer.2017.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2017.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2017.MS).sql | 21 + ...able_WithDataParams(SqlServer.2017.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2017.MS).sql | 27 + ...umerable_WithReader(SqlServer.2017.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...late_And_DataParams(SqlServer.2017.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2017.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2017.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2017.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2017.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2017.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...late_And_DataParams(SqlServer.2017.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2017.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2017.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2017.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2017.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2017.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2017.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2017.MS).sql | 54 + ...late_And_DataParams(SqlServer.2017.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2017.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2017.MS).sql | 54 + ...numerable(SqlServer.2017,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2017,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2017,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2017,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2017,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2017,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2017).sql | 81 + ...Query_WithObjectParams(SqlServer.2017).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2017).sql | 81 + ...calar_WithObjectParams(SqlServer.2017).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2017).sql | 30 + ...erProc_With_DataParams(SqlServer.2017).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2017).sql | 54 + ...Reader_With_DataParams(SqlServer.2017).sql | 81 + ...DataParams_AndBehavior(SqlServer.2017).sql | 81 + ...ader_With_ObjectParams(SqlServer.2017).sql | 54 + ...r_With_SingleDataParam(SqlServer.2017).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2017).sql | 30 + ...onQuery_WithDataParams(SqlServer.2017).sql | 81 + ...Query_WithObjectParams(SqlServer.2017).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2017).sql | 30 + ...alar_WithDataParameter(SqlServer.2017).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2017).sql | 81 + ...calar_WithObjectParams(SqlServer.2017).sql | 54 + ...tExtensionsTests.Query(SqlServer.2017).sql | 30 + ...chAsync_WithDataParams(SqlServer.2017).sql | 54 + ...Async_WithObjectParams(SqlServer.2017).sql | 27 + ...hReader_And_DataParams(SqlServer.2017).sql | 54 + ...eader_And_ObjectParams(SqlServer.2017).sql | 27 + ...ltiple_With_DataParams(SqlServer.2017).sql | 99 + ...ltiple_With_DataParams(SqlServer.2017).sql | 117 + ...iple_With_ObjectParams(SqlServer.2017).sql | 78 + ...hReader_And_DataParams(SqlServer.2017).sql | 99 + ...eader_And_ObjectParams(SqlServer.2017).sql | 66 + ...emplate_And_DataParams(SqlServer.2017).sql | 99 + ...plate_And_ObjectParams(SqlServer.2017).sql | 66 + ...ryProc_With_DataParams(SqlServer.2017).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2017).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2017).sql | 15 + ...sync_WithDataParameter(SqlServer.2017).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2017).sql | 54 + ...Async_WithObjectParams(SqlServer.2017).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2017).sql | 15 + ...hReader_And_DataParams(SqlServer.2017).sql | 54 + ...eader_And_ObjectParams(SqlServer.2017).sql | 27 + ...emplate_And_DataParams(SqlServer.2017).sql | 54 + ...plate_And_ObjectParams(SqlServer.2017).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2017).sql | 15 + ...able_WithDataParameter(SqlServer.2017).sql | 21 + ...merable_WithDataParams(SqlServer.2017).sql | 27 + ...rable_WithObjectParams(SqlServer.2017).sql | 27 + ...cEnumerable_WithReader(SqlServer.2017).sql | 15 + ...hReader_And_DataParams(SqlServer.2017).sql | 27 + ...eader_And_ObjectParams(SqlServer.2017).sql | 27 + ...emplate_And_DataParams(SqlServer.2017).sql | 27 + ...plate_And_ObjectParams(SqlServer.2017).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2017).sql | 15 + ...stAsync_WithDataParams(SqlServer.2017).sql | 54 + ...Async_WithDataParmeter(SqlServer.2017).sql | 21 + ...Async_WithObjectParams(SqlServer.2017).sql | 27 + ...ToListAsync_WithReader(SqlServer.2017).sql | 15 + ...hReader_And_DataParams(SqlServer.2017).sql | 54 + ...eader_And_ObjectParams(SqlServer.2017).sql | 27 + ...emplate_And_DataParams(SqlServer.2017).sql | 54 + ...plate_And_ObjectParams(SqlServer.2017).sql | 27 + ...s.Query_And_DataParams(SqlServer.2017).sql | 81 + ...Query_And_ObjectParams(SqlServer.2017).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2017).sql | 42 + ...Tests.Query_WithReader(SqlServer.2017).sql | 30 + ...hReader_And_DataParams(SqlServer.2017).sql | 81 + ...eader_And_ObjectParams(SqlServer.2017).sql | 54 + ...emplate_And_DataParams(SqlServer.2017).sql | 81 + ...plate_And_ObjectParams(SqlServer.2017).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2017).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,MultipleRows).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,ProviderSpecific).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,RowByRow).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,MultipleRows).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,ProviderSpecific).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,RowByRow).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017.MS).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,MultipleRows).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,ProviderSpecific).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,RowByRow).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,MultipleRows).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,ProviderSpecific).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,RowByRow).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017).sql create mode 100644 SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017).sql diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,MultipleRows).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,MultipleRows).sql new file mode 100644 index 000000000000..71eca4258e34 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,ProviderSpecific).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..ba3242daefce --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,RowByRow).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,RowByRow).sql new file mode 100644 index 000000000000..a83f6ac78c72 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,MultipleRows).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,MultipleRows).sql new file mode 100644 index 000000000000..009766189ee2 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,ProviderSpecific).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..b310f94342fb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,RowByRow).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,RowByRow).sql new file mode 100644 index 000000000000..c6d6d2bb886d --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00aaf97e2997 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..dbfaf4432c3f --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..180a8d42d14c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ef4175a82c4e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..c460b27f7e8e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..6771bd157d51 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ef4175a82c4e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..592076cbc868 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..592076cbc868 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..9bdf449ee0fa --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..802ff0cf8782 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..f316c364f632 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..de08493ac6ae --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..078e6a04f33a --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..7cf3132db808 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..5bf636001c27 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..23619e08ced6 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..2ef79d4ce0f9 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..c460b27f7e8e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..c0cab3db9a22 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..2009bbcb75ec --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..14e88fd5f935 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ca62fc48eaa2 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..087efa196540 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ca62fc48eaa2 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..087efa196540 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ca62fc48eaa2 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..087efa196540 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..c80f2c7de01b --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..1e3e39f3e268 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8a1c22310a78 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..b4a59835b63d --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8a1c22310a78 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8a1c22310a78 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ea492b6981e3 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8567f972dc9c --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..a146f4d2f046 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..00327d4461eb --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..1e3e39f3e268 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..8a1c22310a78 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..3ead37296686 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..792e41c5d72f --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..0accf4fa1871 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..c460b27f7e8e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..3ead37296686 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..792e41c5d72f --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..ebc67c6312e4 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..b3e23bcdf180 --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017.MS).sql b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017.MS).sql new file mode 100644 index 000000000000..51c08ebc777e --- /dev/null +++ b/SqlServer.2017.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017.MS SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,MultipleRows).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,MultipleRows).sql new file mode 100644 index 000000000000..b36da4d481e8 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,ProviderSpecific).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,ProviderSpecific).sql new file mode 100644 index 000000000000..410a1d95fb01 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,RowByRow).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,RowByRow).sql new file mode 100644 index 000000000000..c0a75d96ffbe --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2017,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,MultipleRows).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,MultipleRows).sql new file mode 100644 index 000000000000..f36767ba85cd --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,ProviderSpecific).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,ProviderSpecific).sql new file mode 100644 index 000000000000..9ab96d3db6dd --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,RowByRow).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,RowByRow).sql new file mode 100644 index 000000000000..2bae2152d7f9 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2017,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2017 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2017 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..8f6f56144e28 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..6abb585ad251 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..5b6ab57f82fe --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..433abb5c704a --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017).sql new file mode 100644 index 000000000000..9e01883e4936 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2017).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..3828b9e6b8dc --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..433abb5c704a --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..23668f293fdb --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017).sql new file mode 100644 index 000000000000..23668f293fdb --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..acb1778d0c9c --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017).sql new file mode 100644 index 000000000000..7565e61fd3a4 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2017).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017).sql new file mode 100644 index 000000000000..8a97066df31b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2017).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..b64e6904de90 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..0a897a35c2a9 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017).sql new file mode 100644 index 000000000000..f74bdca65e7a --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2017).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017 + +SELECT 5 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017).sql new file mode 100644 index 000000000000..7d65bf4da8a3 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2017).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..f7b22b9a7e31 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..1515412a410a --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017).sql new file mode 100644 index 000000000000..9e01883e4936 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2017).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..bc28875798ff --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2017).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..18876580d7c1 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2017).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..17de5af4ac9b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..7820e63c1cc4 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..1d0e9155be07 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..7820e63c1cc4 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..1d0e9155be07 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..7820e63c1cc4 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2017).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..1d0e9155be07 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017).sql new file mode 100644 index 000000000000..638ca7bf7ccf --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2017).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..f93f35a197c2 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c877c9ce276c --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017).sql new file mode 100644 index 000000000000..e016659e40f5 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2017).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c877c9ce276c --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c877c9ce276c --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017).sql new file mode 100644 index 000000000000..0752be0053a9 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2017).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017).sql new file mode 100644 index 000000000000..d493e514e053 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2017).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c3888ac1f97b --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ade5b597f810 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..f93f35a197c2 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..c877c9ce276c --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ce6ea2c68baa --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..901774b32136 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017).sql new file mode 100644 index 000000000000..0e69117cb482 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2017).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017).sql new file mode 100644 index 000000000000..9e01883e4936 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2017).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2017 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..ce6ea2c68baa --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..901774b32136 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017).sql new file mode 100644 index 000000000000..0541ea8a0241 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2017).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017).sql new file mode 100644 index 000000000000..6aa6ab4b4f37 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017).sql b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017).sql new file mode 100644 index 000000000000..e257998cfc71 --- /dev/null +++ b/SqlServer.2017/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2017).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2017 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 001ba4fae0956fb67dcd050f22d638e47a76efe3 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:58:28 +0000 Subject: [PATCH 09/41] [Linux / Firebird 4.0] baselines --- ...yncEnumerable(Firebird.4,MultipleRows).sql | 504 +++++ ...numerable(Firebird.4,ProviderSpecific).sql | 504 +++++ ...y_AsyncEnumerable(Firebird.4,RowByRow).sql | 954 +++++++++ ...py_Enumerable(Firebird.4,MultipleRows).sql | 1008 +++++++++ ...numerable(Firebird.4,ProviderSpecific).sql | 1008 +++++++++ ...lkCopy_Enumerable(Firebird.4,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5886 insertions(+) create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,MultipleRows).sql create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,ProviderSpecific).sql create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,RowByRow).sql create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,MultipleRows).sql create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,ProviderSpecific).sql create mode 100644 Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,RowByRow).sql diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,MultipleRows).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,MultipleRows).sql new file mode 100644 index 000000000000..de6fd35f4f2c --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,MultipleRows).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,ProviderSpecific).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,ProviderSpecific).sql new file mode 100644 index 000000000000..de6fd35f4f2c --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,ProviderSpecific).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,RowByRow).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,RowByRow).sql new file mode 100644 index 000000000000..64fbbb0fadaa --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.4,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,MultipleRows).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,MultipleRows).sql new file mode 100644 index 000000000000..4f77d3ddee2c --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,MultipleRows).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,ProviderSpecific).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,ProviderSpecific).sql new file mode 100644 index 000000000000..4f77d3ddee2c --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,ProviderSpecific).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,RowByRow).sql b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,RowByRow).sql new file mode 100644 index 000000000000..ae6b6c559515 --- /dev/null +++ b/Firebird.4/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.4,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.4 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.4 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + From 725cecf8c96865f61f6976e0cfdb51525524b11a Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 19:59:05 +0000 Subject: [PATCH 10/41] [Linux / Firebird 2.5] baselines --- ...cEnumerable(Firebird.2.5,MultipleRows).sql | 504 +++++ ...merable(Firebird.2.5,ProviderSpecific).sql | 504 +++++ ...AsyncEnumerable(Firebird.2.5,RowByRow).sql | 954 +++++++++ ..._Enumerable(Firebird.2.5,MultipleRows).sql | 1008 +++++++++ ...merable(Firebird.2.5,ProviderSpecific).sql | 1008 +++++++++ ...Copy_Enumerable(Firebird.2.5,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5886 insertions(+) create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,MultipleRows).sql create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,ProviderSpecific).sql create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,RowByRow).sql create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,MultipleRows).sql create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,ProviderSpecific).sql create mode 100644 Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,RowByRow).sql diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,MultipleRows).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,MultipleRows).sql new file mode 100644 index 000000000000..01dac8a4bcb1 --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,MultipleRows).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,ProviderSpecific).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,ProviderSpecific).sql new file mode 100644 index 000000000000..01dac8a4bcb1 --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,ProviderSpecific).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,RowByRow).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,RowByRow).sql new file mode 100644 index 000000000000..978f048d9c3b --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.2.5,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,MultipleRows).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,MultipleRows).sql new file mode 100644 index 000000000000..1adb858ed4c7 --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,MultipleRows).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,ProviderSpecific).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,ProviderSpecific).sql new file mode 100644 index 000000000000..1adb858ed4c7 --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,ProviderSpecific).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,RowByRow).sql b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,RowByRow).sql new file mode 100644 index 000000000000..faf86d00e32d --- /dev/null +++ b/Firebird.2.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.2.5,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.2.5 Firebird + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.2.5 Firebird + +DELETE FROM + "BulkCopyTable" "t1" + From 9a512d45de7d6e3265b7a958f4ae8297e897cb2b Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:04:10 +0000 Subject: [PATCH 11/41] [Linux / Firebird 3.0] baselines --- ...yncEnumerable(Firebird.3,MultipleRows).sql | 504 +++++ ...numerable(Firebird.3,ProviderSpecific).sql | 504 +++++ ...y_AsyncEnumerable(Firebird.3,RowByRow).sql | 954 +++++++++ ...py_Enumerable(Firebird.3,MultipleRows).sql | 1008 +++++++++ ...numerable(Firebird.3,ProviderSpecific).sql | 1008 +++++++++ ...lkCopy_Enumerable(Firebird.3,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5886 insertions(+) create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,MultipleRows).sql create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,ProviderSpecific).sql create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,RowByRow).sql create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,MultipleRows).sql create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,ProviderSpecific).sql create mode 100644 Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,RowByRow).sql diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,MultipleRows).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,MultipleRows).sql new file mode 100644 index 000000000000..e95c08e3ae73 --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,MultipleRows).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,ProviderSpecific).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,ProviderSpecific).sql new file mode 100644 index 000000000000..e95c08e3ae73 --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,ProviderSpecific).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,RowByRow).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,RowByRow).sql new file mode 100644 index 000000000000..757e9b8d363f --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.3,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,MultipleRows).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,MultipleRows).sql new file mode 100644 index 000000000000..c0a80e5d9eed --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,MultipleRows).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,ProviderSpecific).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,ProviderSpecific).sql new file mode 100644 index 000000000000..c0a80e5d9eed --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,ProviderSpecific).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,RowByRow).sql b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,RowByRow).sql new file mode 100644 index 000000000000..17957405f18a --- /dev/null +++ b/Firebird.3/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.3,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.3 Firebird3 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.3 Firebird3 + +DELETE FROM + "BulkCopyTable" "t1" + From 2b7894038502e55e7b6efa0fe1d10f38626153f5 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:06:24 +0000 Subject: [PATCH 12/41] [Linux / Firebird 5.0] baselines --- ...yncEnumerable(Firebird.5,MultipleRows).sql | 504 +++++ ...numerable(Firebird.5,ProviderSpecific).sql | 504 +++++ ...y_AsyncEnumerable(Firebird.5,RowByRow).sql | 954 +++++++++ ...py_Enumerable(Firebird.5,MultipleRows).sql | 1008 +++++++++ ...numerable(Firebird.5,ProviderSpecific).sql | 1008 +++++++++ ...lkCopy_Enumerable(Firebird.5,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5886 insertions(+) create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,MultipleRows).sql create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,ProviderSpecific).sql create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,RowByRow).sql create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,MultipleRows).sql create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,ProviderSpecific).sql create mode 100644 Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,RowByRow).sql diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,MultipleRows).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,MultipleRows).sql new file mode 100644 index 000000000000..82e84e91f6af --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,MultipleRows).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,ProviderSpecific).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,ProviderSpecific).sql new file mode 100644 index 000000000000..82e84e91f6af --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,ProviderSpecific).sql @@ -0,0 +1,504 @@ +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,RowByRow).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,RowByRow).sql new file mode 100644 index 000000000000..332f6aa5f776 --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Firebird.5,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,MultipleRows).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,MultipleRows).sql new file mode 100644 index 000000000000..ac478ba38e12 --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,MultipleRows).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,ProviderSpecific).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,ProviderSpecific).sql new file mode 100644 index 000000000000..ac478ba38e12 --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,ProviderSpecific).sql @@ -0,0 +1,1008 @@ +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +SELECT 1,10 FROM rdb$database UNION ALL +SELECT 2,20 FROM rdb$database + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,RowByRow).sql b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,RowByRow).sql new file mode 100644 index 000000000000..fd6b558561fd --- /dev/null +++ b/Firebird.5/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Firebird.5,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Firebird.5 Firebird4 + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- Firebird.5 Firebird4 + +DELETE FROM + "BulkCopyTable" "t1" + From 395a8fde04f63e208eee5cf35ce402b3d950891d Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:11:19 +0000 Subject: [PATCH 13/41] [Linux / ClickHouse MySql] baselines --- ...merable(ClickHouse.MySql,MultipleRows).sql | 540 ++++++ ...ble(ClickHouse.MySql,ProviderSpecific).sql | 540 ++++++ ...cEnumerable(ClickHouse.MySql,RowByRow).sql | 828 +++++++++ ...merable(ClickHouse.MySql,MultipleRows).sql | 1080 +++++++++++ ...ble(ClickHouse.MySql,ProviderSpecific).sql | 1080 +++++++++++ ..._Enumerable(ClickHouse.MySql,RowByRow).sql | 1656 +++++++++++++++++ 6 files changed, 5724 insertions(+) create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,MultipleRows).sql create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,ProviderSpecific).sql create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,RowByRow).sql create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,MultipleRows).sql create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,ProviderSpecific).sql create mode 100644 ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,RowByRow).sql diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,MultipleRows).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,MultipleRows).sql new file mode 100644 index 000000000000..54a01855a1fc --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,ProviderSpecific).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,ProviderSpecific).sql new file mode 100644 index 000000000000..54a01855a1fc --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,ProviderSpecific).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,RowByRow).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,RowByRow).sql new file mode 100644 index 000000000000..04bb27c3ab18 --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.MySql,RowByRow).sql @@ -0,0 +1,828 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,MultipleRows).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,MultipleRows).sql new file mode 100644 index 000000000000..c198ca0f1ce1 --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,ProviderSpecific).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,ProviderSpecific).sql new file mode 100644 index 000000000000..c198ca0f1ce1 --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,ProviderSpecific).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,RowByRow).sql b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,RowByRow).sql new file mode 100644 index 000000000000..daf6039bb290 --- /dev/null +++ b/ClickHouse.MySql/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.MySql,RowByRow).sql @@ -0,0 +1,1656 @@ +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.MySql ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + From e8b092d2df0de8dc1a0d9fce8a00eb54c1574eb8 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:12:44 +0000 Subject: [PATCH 14/41] [Windows / SQL Server 2014] baselines --- ...erable(SqlServer.2014.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2014.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2014.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2014.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2014.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2014.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2014.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2014.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2014.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2014.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2014.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2014.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2014.MS).sql | 54 + ...der_With_DataParams(SqlServer.2014.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2014.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2014.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2014.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2014.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2014.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2014.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2014.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2014.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2014.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2014.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2014.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2014.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2014.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2014.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2014.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2014.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 66 + ...late_And_DataParams(SqlServer.2014.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2014.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2014.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2014.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2014.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2014.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2014.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2014.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2014.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...late_And_DataParams(SqlServer.2014.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2014.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2014.MS).sql | 21 + ...able_WithDataParams(SqlServer.2014.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2014.MS).sql | 27 + ...umerable_WithReader(SqlServer.2014.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...late_And_DataParams(SqlServer.2014.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2014.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2014.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2014.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2014.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2014.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...late_And_DataParams(SqlServer.2014.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2014.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2014.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2014.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2014.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2014.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2014.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2014.MS).sql | 54 + ...late_And_DataParams(SqlServer.2014.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2014.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2014.MS).sql | 54 + ...numerable(SqlServer.2014,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2014,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2014,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2014,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2014,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2014,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2014).sql | 81 + ...Query_WithObjectParams(SqlServer.2014).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2014).sql | 81 + ...calar_WithObjectParams(SqlServer.2014).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2014).sql | 30 + ...erProc_With_DataParams(SqlServer.2014).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2014).sql | 54 + ...Reader_With_DataParams(SqlServer.2014).sql | 81 + ...DataParams_AndBehavior(SqlServer.2014).sql | 81 + ...ader_With_ObjectParams(SqlServer.2014).sql | 54 + ...r_With_SingleDataParam(SqlServer.2014).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2014).sql | 30 + ...onQuery_WithDataParams(SqlServer.2014).sql | 81 + ...Query_WithObjectParams(SqlServer.2014).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2014).sql | 30 + ...alar_WithDataParameter(SqlServer.2014).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2014).sql | 81 + ...calar_WithObjectParams(SqlServer.2014).sql | 54 + ...tExtensionsTests.Query(SqlServer.2014).sql | 30 + ...chAsync_WithDataParams(SqlServer.2014).sql | 54 + ...Async_WithObjectParams(SqlServer.2014).sql | 27 + ...hReader_And_DataParams(SqlServer.2014).sql | 54 + ...eader_And_ObjectParams(SqlServer.2014).sql | 27 + ...ltiple_With_DataParams(SqlServer.2014).sql | 99 + ...ltiple_With_DataParams(SqlServer.2014).sql | 117 + ...iple_With_ObjectParams(SqlServer.2014).sql | 78 + ...hReader_And_DataParams(SqlServer.2014).sql | 99 + ...eader_And_ObjectParams(SqlServer.2014).sql | 66 + ...emplate_And_DataParams(SqlServer.2014).sql | 99 + ...plate_And_ObjectParams(SqlServer.2014).sql | 66 + ...ryProc_With_DataParams(SqlServer.2014).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2014).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2014).sql | 15 + ...sync_WithDataParameter(SqlServer.2014).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2014).sql | 54 + ...Async_WithObjectParams(SqlServer.2014).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2014).sql | 15 + ...hReader_And_DataParams(SqlServer.2014).sql | 54 + ...eader_And_ObjectParams(SqlServer.2014).sql | 27 + ...emplate_And_DataParams(SqlServer.2014).sql | 54 + ...plate_And_ObjectParams(SqlServer.2014).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2014).sql | 15 + ...able_WithDataParameter(SqlServer.2014).sql | 21 + ...merable_WithDataParams(SqlServer.2014).sql | 27 + ...rable_WithObjectParams(SqlServer.2014).sql | 27 + ...cEnumerable_WithReader(SqlServer.2014).sql | 15 + ...hReader_And_DataParams(SqlServer.2014).sql | 27 + ...eader_And_ObjectParams(SqlServer.2014).sql | 27 + ...emplate_And_DataParams(SqlServer.2014).sql | 27 + ...plate_And_ObjectParams(SqlServer.2014).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2014).sql | 15 + ...stAsync_WithDataParams(SqlServer.2014).sql | 54 + ...Async_WithDataParmeter(SqlServer.2014).sql | 21 + ...Async_WithObjectParams(SqlServer.2014).sql | 27 + ...ToListAsync_WithReader(SqlServer.2014).sql | 15 + ...hReader_And_DataParams(SqlServer.2014).sql | 54 + ...eader_And_ObjectParams(SqlServer.2014).sql | 27 + ...emplate_And_DataParams(SqlServer.2014).sql | 54 + ...plate_And_ObjectParams(SqlServer.2014).sql | 27 + ...s.Query_And_DataParams(SqlServer.2014).sql | 81 + ...Query_And_ObjectParams(SqlServer.2014).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2014).sql | 42 + ...Tests.Query_WithReader(SqlServer.2014).sql | 30 + ...hReader_And_DataParams(SqlServer.2014).sql | 81 + ...eader_And_ObjectParams(SqlServer.2014).sql | 54 + ...emplate_And_DataParams(SqlServer.2014).sql | 81 + ...plate_And_ObjectParams(SqlServer.2014).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2014).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,MultipleRows).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,ProviderSpecific).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,RowByRow).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,MultipleRows).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,ProviderSpecific).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,RowByRow).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014.MS).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,MultipleRows).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,ProviderSpecific).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,RowByRow).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,MultipleRows).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,ProviderSpecific).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,RowByRow).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014).sql create mode 100644 SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014).sql diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,MultipleRows).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,MultipleRows).sql new file mode 100644 index 000000000000..d11d55d6e25a --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,ProviderSpecific).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..76df7893161a --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,RowByRow).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,RowByRow).sql new file mode 100644 index 000000000000..df9d288a93dd --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,MultipleRows).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,MultipleRows).sql new file mode 100644 index 000000000000..1056611e8a72 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,ProviderSpecific).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..6def4e26f1b7 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,RowByRow).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,RowByRow).sql new file mode 100644 index 000000000000..16eaef2ec30b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..2efe091de98a --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..985e95c3f0bc --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..ae58a413691a --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..69c29528c137 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..abf157c0ec1f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8e91e5196bfa --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..69c29528c137 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..eab9335c2e45 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..eab9335c2e45 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..5dc9a64aed2c --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..52cd8203f85d --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..adfc523e6be7 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..6317274c098d --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..4873ec2e00e2 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..3f918944ab8e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..9b29e5bfc175 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d5986847742f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..0f517aa75c0a --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..abf157c0ec1f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..cfb23ec543f9 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..a1f1e31eba37 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..e715b1e6eb2c --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d14560c03886 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..2b4b7364c65b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d14560c03886 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..2b4b7364c65b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d14560c03886 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..2b4b7364c65b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..336cc84c3c32 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..a3d605e25654 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..3216803e6173 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..643d6507a02e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..3216803e6173 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..3216803e6173 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..255117971bdb --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..8f3aa086287f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..1ec8d5e3176e --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..d179017f2e2b --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..a3d605e25654 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..3216803e6173 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..316a94e0865f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..ba2dc3688213 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..c97985f7fb95 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..abf157c0ec1f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..316a94e0865f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..ba2dc3688213 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..7a7191dc6d38 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..5e3d53f4ec98 --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014.MS).sql b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014.MS).sql new file mode 100644 index 000000000000..0a32514cb19f --- /dev/null +++ b/SqlServer.2014.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014.MS SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,MultipleRows).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,MultipleRows).sql new file mode 100644 index 000000000000..257193936ebc --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,ProviderSpecific).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,ProviderSpecific).sql new file mode 100644 index 000000000000..de1c81017a82 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,RowByRow).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,RowByRow).sql new file mode 100644 index 000000000000..569050e024ee --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2014,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,MultipleRows).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,MultipleRows).sql new file mode 100644 index 000000000000..bef0e2fb6e00 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,ProviderSpecific).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,ProviderSpecific).sql new file mode 100644 index 000000000000..9b0540fa328e --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,RowByRow).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,RowByRow).sql new file mode 100644 index 000000000000..83626b92d5e5 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2014,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2014 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2014 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..305f5705b8ea --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..5340bf5959ed --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..0ea10104e95a --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..73c67655f695 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014).sql new file mode 100644 index 000000000000..9970fa3e6f4d --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2014).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4fd35a254702 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..73c67655f695 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..dd07249016c7 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014).sql new file mode 100644 index 000000000000..dd07249016c7 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..dbecaf4fa1fc --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014).sql new file mode 100644 index 000000000000..02440b885161 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2014).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014).sql new file mode 100644 index 000000000000..145b9c841cbe --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2014).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..1811b52a07bb --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..dee12ae5f917 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014).sql new file mode 100644 index 000000000000..4e2cedf83a9b --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2014).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014 + +SELECT 5 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014).sql new file mode 100644 index 000000000000..65d8b9f15cc5 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2014).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..3131e5472c81 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..425e8e048e54 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014).sql new file mode 100644 index 000000000000..9970fa3e6f4d --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2014).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..f8d4169958db --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2014).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..5c271cd6e9bf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2014).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..fed709e84436 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6bd2a0626296 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6f49944e57db --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6bd2a0626296 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6f49944e57db --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6bd2a0626296 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2014).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..6f49944e57db --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014).sql new file mode 100644 index 000000000000..88a55dd04678 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2014).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..05f1b8f067f3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..a61207fa4f76 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014).sql new file mode 100644 index 000000000000..d9f6df554dff --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2014).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..a61207fa4f76 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..a61207fa4f76 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014).sql new file mode 100644 index 000000000000..dee81ff707ce --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2014).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014).sql new file mode 100644 index 000000000000..b005e2a388e3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2014).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..642a1c8b87cf --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..4911b81a54f4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..05f1b8f067f3 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..a61207fa4f76 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..40bbbaf131e5 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..3b15f6dd8e53 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014).sql new file mode 100644 index 000000000000..150c3cf5ddc4 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2014).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014).sql new file mode 100644 index 000000000000..9970fa3e6f4d --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2014).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2014 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..40bbbaf131e5 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..3b15f6dd8e53 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014).sql new file mode 100644 index 000000000000..f6e566075108 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2014).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014).sql new file mode 100644 index 000000000000..01f39f4c9818 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014).sql b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014).sql new file mode 100644 index 000000000000..f052523787c8 --- /dev/null +++ b/SqlServer.2014/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2014).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2014 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 17866f398afa0ab1306224b3fb14690d5ae2ad86 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:16:47 +0000 Subject: [PATCH 15/41] [Windows / SQL Server 2019] baselines --- ...erable(SqlServer.2019.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2019.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2019.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2019.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2019.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2019.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2019.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2019.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2019.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2019.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2019.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2019.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2019.MS).sql | 54 + ...der_With_DataParams(SqlServer.2019.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2019.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2019.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2019.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2019.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2019.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2019.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2019.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2019.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2019.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2019.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2019.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2019.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2019.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2019.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2019.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2019.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 66 + ...late_And_DataParams(SqlServer.2019.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2019.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2019.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2019.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2019.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2019.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2019.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2019.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2019.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...late_And_DataParams(SqlServer.2019.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2019.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2019.MS).sql | 21 + ...able_WithDataParams(SqlServer.2019.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2019.MS).sql | 27 + ...umerable_WithReader(SqlServer.2019.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...late_And_DataParams(SqlServer.2019.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2019.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2019.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2019.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2019.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2019.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...late_And_DataParams(SqlServer.2019.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2019.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2019.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2019.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2019.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2019.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2019.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2019.MS).sql | 54 + ...late_And_DataParams(SqlServer.2019.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2019.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2019.MS).sql | 54 + ...numerable(SqlServer.2019,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2019,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2019,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2019,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2019,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2019,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2019).sql | 81 + ...Query_WithObjectParams(SqlServer.2019).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2019).sql | 81 + ...calar_WithObjectParams(SqlServer.2019).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2019).sql | 30 + ...erProc_With_DataParams(SqlServer.2019).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2019).sql | 54 + ...Reader_With_DataParams(SqlServer.2019).sql | 81 + ...DataParams_AndBehavior(SqlServer.2019).sql | 81 + ...ader_With_ObjectParams(SqlServer.2019).sql | 54 + ...r_With_SingleDataParam(SqlServer.2019).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2019).sql | 30 + ...onQuery_WithDataParams(SqlServer.2019).sql | 81 + ...Query_WithObjectParams(SqlServer.2019).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2019).sql | 30 + ...alar_WithDataParameter(SqlServer.2019).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2019).sql | 81 + ...calar_WithObjectParams(SqlServer.2019).sql | 54 + ...tExtensionsTests.Query(SqlServer.2019).sql | 30 + ...chAsync_WithDataParams(SqlServer.2019).sql | 54 + ...Async_WithObjectParams(SqlServer.2019).sql | 27 + ...hReader_And_DataParams(SqlServer.2019).sql | 54 + ...eader_And_ObjectParams(SqlServer.2019).sql | 27 + ...ltiple_With_DataParams(SqlServer.2019).sql | 99 + ...ltiple_With_DataParams(SqlServer.2019).sql | 117 + ...iple_With_ObjectParams(SqlServer.2019).sql | 78 + ...hReader_And_DataParams(SqlServer.2019).sql | 99 + ...eader_And_ObjectParams(SqlServer.2019).sql | 66 + ...emplate_And_DataParams(SqlServer.2019).sql | 99 + ...plate_And_ObjectParams(SqlServer.2019).sql | 66 + ...ryProc_With_DataParams(SqlServer.2019).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2019).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2019).sql | 15 + ...sync_WithDataParameter(SqlServer.2019).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2019).sql | 54 + ...Async_WithObjectParams(SqlServer.2019).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2019).sql | 15 + ...hReader_And_DataParams(SqlServer.2019).sql | 54 + ...eader_And_ObjectParams(SqlServer.2019).sql | 27 + ...emplate_And_DataParams(SqlServer.2019).sql | 54 + ...plate_And_ObjectParams(SqlServer.2019).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2019).sql | 15 + ...able_WithDataParameter(SqlServer.2019).sql | 21 + ...merable_WithDataParams(SqlServer.2019).sql | 27 + ...rable_WithObjectParams(SqlServer.2019).sql | 27 + ...cEnumerable_WithReader(SqlServer.2019).sql | 15 + ...hReader_And_DataParams(SqlServer.2019).sql | 27 + ...eader_And_ObjectParams(SqlServer.2019).sql | 27 + ...emplate_And_DataParams(SqlServer.2019).sql | 27 + ...plate_And_ObjectParams(SqlServer.2019).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2019).sql | 15 + ...stAsync_WithDataParams(SqlServer.2019).sql | 54 + ...Async_WithDataParmeter(SqlServer.2019).sql | 21 + ...Async_WithObjectParams(SqlServer.2019).sql | 27 + ...ToListAsync_WithReader(SqlServer.2019).sql | 15 + ...hReader_And_DataParams(SqlServer.2019).sql | 54 + ...eader_And_ObjectParams(SqlServer.2019).sql | 27 + ...emplate_And_DataParams(SqlServer.2019).sql | 54 + ...plate_And_ObjectParams(SqlServer.2019).sql | 27 + ...s.Query_And_DataParams(SqlServer.2019).sql | 81 + ...Query_And_ObjectParams(SqlServer.2019).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2019).sql | 42 + ...Tests.Query_WithReader(SqlServer.2019).sql | 30 + ...hReader_And_DataParams(SqlServer.2019).sql | 81 + ...eader_And_ObjectParams(SqlServer.2019).sql | 54 + ...emplate_And_DataParams(SqlServer.2019).sql | 81 + ...plate_And_ObjectParams(SqlServer.2019).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2019).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,MultipleRows).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,ProviderSpecific).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,RowByRow).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,MultipleRows).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,ProviderSpecific).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,RowByRow).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019.MS).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,MultipleRows).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,ProviderSpecific).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,RowByRow).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,MultipleRows).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,ProviderSpecific).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,RowByRow).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019).sql create mode 100644 SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019).sql diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,MultipleRows).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,MultipleRows).sql new file mode 100644 index 000000000000..6a27c21d62a5 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,ProviderSpecific).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..42898e50f6a5 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,RowByRow).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,RowByRow).sql new file mode 100644 index 000000000000..89a50cb18473 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,MultipleRows).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,MultipleRows).sql new file mode 100644 index 000000000000..f244c76530b4 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,ProviderSpecific).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..94e6b726e6b6 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,RowByRow).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,RowByRow).sql new file mode 100644 index 000000000000..9fc80fb1e7d8 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..e6eb718f58f3 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9543ea589c1d --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9631367c18c6 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..056aa4957fab --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..71183763aae0 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..533931a7a103 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..056aa4957fab --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f20ac7bd6c49 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f20ac7bd6c49 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..e54f48488cbc --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..18d55ee67e09 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..3ed825e444df --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..dced87002baf --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..003258c7a233 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..3107181e303e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..faa5dcfe7666 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..fe3226d5a158 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6cb583908943 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..71183763aae0 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6aa293898840 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..50fef1a7d675 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f34bd4f55ed9 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f59cda668dda --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..11dc587d766e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f59cda668dda --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..11dc587d766e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..f59cda668dda --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..11dc587d766e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..e56ef8a67d57 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..aace3132057b --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..05aa81af16ac --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..fc23df9cd887 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..05aa81af16ac --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..05aa81af16ac --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..4c0565cfa6b5 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..8525a6507102 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..9ed888d61615 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..6078c23bcd2e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..aace3132057b --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..05aa81af16ac --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..475eb846819c --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..36936c704018 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..cc5025fc6c85 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..71183763aae0 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..475eb846819c --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..36936c704018 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..66a4bdd3a86e --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..334bae8c7ae8 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019.MS).sql b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019.MS).sql new file mode 100644 index 000000000000..565754bc2fe6 --- /dev/null +++ b/SqlServer.2019.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,MultipleRows).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,MultipleRows).sql new file mode 100644 index 000000000000..e19ebc8dbb50 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,ProviderSpecific).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,ProviderSpecific).sql new file mode 100644 index 000000000000..9b7fc001b7d3 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,RowByRow).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,RowByRow).sql new file mode 100644 index 000000000000..60781f0b0000 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2019,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,MultipleRows).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,MultipleRows).sql new file mode 100644 index 000000000000..ed09d11b4bf3 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,ProviderSpecific).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,ProviderSpecific).sql new file mode 100644 index 000000000000..a670649e64ee --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,RowByRow).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,RowByRow).sql new file mode 100644 index 000000000000..1772054168d7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2019,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..9dde3c46814e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..e814648761ab --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..618f639c6c0c --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..449b43fc150a --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019).sql new file mode 100644 index 000000000000..3fd1c9310945 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2019).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..add55d24bb9d --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..449b43fc150a --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..d622683a0c9c --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019).sql new file mode 100644 index 000000000000..d622683a0c9c --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..7270095dc015 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019).sql new file mode 100644 index 000000000000..165ff8e14d0a --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2019).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019).sql new file mode 100644 index 000000000000..1cd1ae9726dc --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2019).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..058216462940 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..667f78922c3b --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019).sql new file mode 100644 index 000000000000..5a624474456f --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2019).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019).sql new file mode 100644 index 000000000000..352fc52f7745 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2019).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..da6fe270e536 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..7952122202fd --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019).sql new file mode 100644 index 000000000000..3fd1c9310945 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2019).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..08927496e451 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2019).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..8f860c8ebe45 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2019).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..482e0e7b6321 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..c971da39c8bc --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..83dc792a42ed --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..c971da39c8bc --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..83dc792a42ed --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..c971da39c8bc --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2019).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..83dc792a42ed --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019).sql new file mode 100644 index 000000000000..c4e497057f18 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2019).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..209ca03f4db7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..d7e76e708526 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019).sql new file mode 100644 index 000000000000..766bc3e2a554 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2019).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..d7e76e708526 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..d7e76e708526 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019).sql new file mode 100644 index 000000000000..40dc9cb24eb8 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2019).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019).sql new file mode 100644 index 000000000000..f558caa1172e --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2019).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..eb57318b0e78 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..3d38b7c6e4e7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..209ca03f4db7 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..d7e76e708526 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..a2bd78163a1a --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..7e79bf798843 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019).sql new file mode 100644 index 000000000000..426de42c01fa --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2019).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019).sql new file mode 100644 index 000000000000..3fd1c9310945 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2019).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..a2bd78163a1a --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..7e79bf798843 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019).sql new file mode 100644 index 000000000000..71079314a7f6 --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2019).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019).sql new file mode 100644 index 000000000000..e26b77ed03ad --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019).sql b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019).sql new file mode 100644 index 000000000000..cec12cb4372c --- /dev/null +++ b/SqlServer.2019/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2019).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 3389440995705cd47c813457a695d082045c4bec Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:17:08 +0000 Subject: [PATCH 16/41] [Linux / MariaDB 11] baselines --- ...yncEnumerable(MariaDB.11,MultipleRows).sql | 540 +++++ ...numerable(MariaDB.11,ProviderSpecific).sql | 396 ++++ ...y_AsyncEnumerable(MariaDB.11,RowByRow).sql | 972 +++++++++ ...py_Enumerable(MariaDB.11,MultipleRows).sql | 1080 +++++++++ ...numerable(MariaDB.11,ProviderSpecific).sql | 828 +++++++ ...lkCopy_Enumerable(MariaDB.11,RowByRow).sql | 1944 +++++++++++++++++ 6 files changed, 5760 insertions(+) create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,MultipleRows).sql create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,ProviderSpecific).sql create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,RowByRow).sql create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,MultipleRows).sql create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,ProviderSpecific).sql create mode 100644 MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,RowByRow).sql diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,MultipleRows).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,MultipleRows).sql new file mode 100644 index 000000000000..aef907b25989 --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,ProviderSpecific).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,ProviderSpecific).sql new file mode 100644 index 000000000000..db50b7a75e47 --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,ProviderSpecific).sql @@ -0,0 +1,396 @@ +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,RowByRow).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,RowByRow).sql new file mode 100644 index 000000000000..a49a8ceea1ba --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MariaDB.11,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,MultipleRows).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,MultipleRows).sql new file mode 100644 index 000000000000..737fcaad53b0 --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,ProviderSpecific).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,ProviderSpecific).sql new file mode 100644 index 000000000000..af663d03fa10 --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,ProviderSpecific).sql @@ -0,0 +1,828 @@ +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + diff --git a/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,RowByRow).sql b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,RowByRow).sql new file mode 100644 index 000000000000..8013ccd05ef6 --- /dev/null +++ b/MariaDB.11/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MariaDB.11,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MariaDB.11 MariaDB.10.MySqlConnector MySql + +DELETE +FROM + `BulkCopyTable` + From 4fd0044ccbedb92913cb447d8fa5189953b8b5cb Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:17:59 +0000 Subject: [PATCH 17/41] [Linux / MySQL 9 (both providers)] baselines --- ...syncEnumerable(MySql.8.0,MultipleRows).sql | 540 +++++ ...Enumerable(MySql.8.0,ProviderSpecific).sql | 540 +++++ ...py_AsyncEnumerable(MySql.8.0,RowByRow).sql | 972 +++++++++ ...opy_Enumerable(MySql.8.0,MultipleRows).sql | 1080 +++++++++ ...Enumerable(MySql.8.0,ProviderSpecific).sql | 1080 +++++++++ ...ulkCopy_Enumerable(MySql.8.0,RowByRow).sql | 1944 +++++++++++++++++ ...rable(MySqlConnector.8.0,MultipleRows).sql | 540 +++++ ...e(MySqlConnector.8.0,ProviderSpecific).sql | 396 ++++ ...numerable(MySqlConnector.8.0,RowByRow).sql | 972 +++++++++ ...rable(MySqlConnector.8.0,MultipleRows).sql | 1080 +++++++++ ...e(MySqlConnector.8.0,ProviderSpecific).sql | 828 +++++++ ...numerable(MySqlConnector.8.0,RowByRow).sql | 1944 +++++++++++++++++ 12 files changed, 11916 insertions(+) create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,MultipleRows).sql create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,ProviderSpecific).sql create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,RowByRow).sql create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,MultipleRows).sql create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,ProviderSpecific).sql create mode 100644 MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,RowByRow).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,MultipleRows).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,ProviderSpecific).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,RowByRow).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,MultipleRows).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,ProviderSpecific).sql create mode 100644 MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,RowByRow).sql diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,MultipleRows).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,MultipleRows).sql new file mode 100644 index 000000000000..6628822a51e2 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,ProviderSpecific).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,ProviderSpecific).sql new file mode 100644 index 000000000000..6628822a51e2 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,ProviderSpecific).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,RowByRow).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,RowByRow).sql new file mode 100644 index 000000000000..9640fae1add5 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.8.0,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,MultipleRows).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,MultipleRows).sql new file mode 100644 index 000000000000..02a4deaadb50 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,ProviderSpecific).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,ProviderSpecific).sql new file mode 100644 index 000000000000..02a4deaadb50 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,ProviderSpecific).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,RowByRow).sql b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,RowByRow).sql new file mode 100644 index 000000000000..96161fa74215 --- /dev/null +++ b/MySql.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.8.0,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.8.0 MySql.8.0.MySql.Data MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,MultipleRows).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,MultipleRows).sql new file mode 100644 index 000000000000..cfb05425a18e --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,ProviderSpecific).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,ProviderSpecific).sql new file mode 100644 index 000000000000..563971f85855 --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,ProviderSpecific).sql @@ -0,0 +1,396 @@ +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,RowByRow).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,RowByRow).sql new file mode 100644 index 000000000000..6877538b189a --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.8.0,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,MultipleRows).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,MultipleRows).sql new file mode 100644 index 000000000000..e138d9d29fbe --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,ProviderSpecific).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,ProviderSpecific).sql new file mode 100644 index 000000000000..0a23589553de --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,ProviderSpecific).sql @@ -0,0 +1,828 @@ +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,RowByRow).sql b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,RowByRow).sql new file mode 100644 index 000000000000..2f4ab834524e --- /dev/null +++ b/MySqlConnector.8.0/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.8.0,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.8.0 MySql.8.0.MySqlConnector MySql80 + +DELETE +FROM + `BulkCopyTable` + From e64f9932060d42c7e8de441d8fce2f591aca03d1 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:21:02 +0000 Subject: [PATCH 18/41] [Linux / MySQL 5.7 (both providers)] baselines --- ...syncEnumerable(MySql.5.7,MultipleRows).sql | 540 +++++ ...Enumerable(MySql.5.7,ProviderSpecific).sql | 540 +++++ ...py_AsyncEnumerable(MySql.5.7,RowByRow).sql | 972 +++++++++ ...opy_Enumerable(MySql.5.7,MultipleRows).sql | 1080 +++++++++ ...Enumerable(MySql.5.7,ProviderSpecific).sql | 1080 +++++++++ ...ulkCopy_Enumerable(MySql.5.7,RowByRow).sql | 1944 +++++++++++++++++ ...rable(MySqlConnector.5.7,MultipleRows).sql | 540 +++++ ...e(MySqlConnector.5.7,ProviderSpecific).sql | 396 ++++ ...numerable(MySqlConnector.5.7,RowByRow).sql | 972 +++++++++ ...rable(MySqlConnector.5.7,MultipleRows).sql | 1080 +++++++++ ...e(MySqlConnector.5.7,ProviderSpecific).sql | 828 +++++++ ...numerable(MySqlConnector.5.7,RowByRow).sql | 1944 +++++++++++++++++ 12 files changed, 11916 insertions(+) create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,MultipleRows).sql create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,ProviderSpecific).sql create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,RowByRow).sql create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,MultipleRows).sql create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,ProviderSpecific).sql create mode 100644 MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,RowByRow).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,MultipleRows).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,ProviderSpecific).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,RowByRow).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,MultipleRows).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,ProviderSpecific).sql create mode 100644 MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,RowByRow).sql diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,MultipleRows).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,MultipleRows).sql new file mode 100644 index 000000000000..37afe0f08f40 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,ProviderSpecific).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,ProviderSpecific).sql new file mode 100644 index 000000000000..37afe0f08f40 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,ProviderSpecific).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,RowByRow).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,RowByRow).sql new file mode 100644 index 000000000000..2d88a168fad6 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySql.5.7,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,MultipleRows).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,MultipleRows).sql new file mode 100644 index 000000000000..3cd32bf462b6 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,ProviderSpecific).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,ProviderSpecific).sql new file mode 100644 index 000000000000..3cd32bf462b6 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,ProviderSpecific).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,RowByRow).sql b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,RowByRow).sql new file mode 100644 index 000000000000..774c1616df71 --- /dev/null +++ b/MySql.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySql.5.7,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySql.5.7 MySql.5.7.MySql.Data MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,MultipleRows).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,MultipleRows).sql new file mode 100644 index 000000000000..021c733949de --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,ProviderSpecific).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,ProviderSpecific).sql new file mode 100644 index 000000000000..24bf5d70730e --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,ProviderSpecific).sql @@ -0,0 +1,396 @@ +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,RowByRow).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,RowByRow).sql new file mode 100644 index 000000000000..6cf77baabdb9 --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(MySqlConnector.5.7,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,MultipleRows).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,MultipleRows).sql new file mode 100644 index 000000000000..5246d63080cf --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,ProviderSpecific).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,ProviderSpecific).sql new file mode 100644 index 000000000000..5a58373ed505 --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,ProviderSpecific).sql @@ -0,0 +1,828 @@ +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +INSERT ASYNC BULK `BulkCopyTable`(Id, Value) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + diff --git a/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,RowByRow).sql b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,RowByRow).sql new file mode 100644 index 000000000000..cab1312910fc --- /dev/null +++ b/MySqlConnector.5.7/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(MySqlConnector.5.7,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO `BulkCopyTable` +( + `Id`, + `Value` +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +SELECT + `t1`.`Id`, + `t1`.`Value` +FROM + `BulkCopyTable` `t1` +ORDER BY + `t1`.`Id` + +BeforeExecute +-- MySqlConnector.5.7 MySql.5.7.MySqlConnector MySql57 + +DELETE +FROM + `BulkCopyTable` + From 776de6a3c3e6fe1b97af29b9f9c436917633cb24 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:26:45 +0200 Subject: [PATCH 19/41] [Linux / Oracle 11g XE] baselines --- ...erable(Oracle.11.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.11.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.11.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.11.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.11.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.11.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.11.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.11.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.11.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.11.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.11.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.11.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,MultipleRows).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,ProviderSpecific).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,RowByRow).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertAll).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertDual).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertInto).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,MultipleRows).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,ProviderSpecific).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,RowByRow).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertAll).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertDual).sql create mode 100644 Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertInto).sql diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,MultipleRows).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,MultipleRows).sql new file mode 100644 index 000000000000..0e40c63269ac --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,ProviderSpecific).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..cb5f1a87ead9 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,RowByRow).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,RowByRow).sql new file mode 100644 index 000000000000..7f761ea90360 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.11.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertAll).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertAll).sql new file mode 100644 index 000000000000..0e40c63269ac --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertDual).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertDual).sql new file mode 100644 index 000000000000..31aa8ecb97fd --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertInto).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertInto).sql new file mode 100644 index 000000000000..504fa57086a0 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.11.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,MultipleRows).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,MultipleRows).sql new file mode 100644 index 000000000000..d09f31742db5 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,ProviderSpecific).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..431a176eb5dc --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,RowByRow).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,RowByRow).sql new file mode 100644 index 000000000000..f8dee0980ee9 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.11.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertAll).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertAll).sql new file mode 100644 index 000000000000..d09f31742db5 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertDual).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertDual).sql new file mode 100644 index 000000000000..d09f31742db5 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertInto).sql b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertInto).sql new file mode 100644 index 000000000000..d09f31742db5 --- /dev/null +++ b/Oracle.11.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.11.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.11.Managed Oracle11 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.11.Managed Oracle11 + +DELETE FROM + "BulkCopyTable" t1 + From aa5da4815ee237fad259cfdd2672747761fb6819 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:28:48 +0000 Subject: [PATCH 20/41] [Windows / SQL Server 2025] baselines --- ...erable(SqlServer.2025.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2025.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2025.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2025.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2025.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2025.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2025.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2025.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2025.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2025.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2025.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2025.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2025.MS).sql | 54 + ...der_With_DataParams(SqlServer.2025.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2025.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2025.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2025.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2025.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2025.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2025.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2025.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2025.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2025.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2025.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2025.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2025.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2025.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2025.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2025.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2025.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 66 + ...late_And_DataParams(SqlServer.2025.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2025.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2025.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2025.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2025.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2025.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2025.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2025.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2025.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...late_And_DataParams(SqlServer.2025.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2025.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2025.MS).sql | 21 + ...able_WithDataParams(SqlServer.2025.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2025.MS).sql | 27 + ...umerable_WithReader(SqlServer.2025.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...late_And_DataParams(SqlServer.2025.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2025.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2025.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2025.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2025.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2025.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...late_And_DataParams(SqlServer.2025.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2025.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2025.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2025.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2025.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2025.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2025.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2025.MS).sql | 54 + ...late_And_DataParams(SqlServer.2025.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2025.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2025.MS).sql | 54 + ...numerable(SqlServer.2025,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2025,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2025,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2025,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2025,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2025,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2025).sql | 81 + ...Query_WithObjectParams(SqlServer.2025).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2025).sql | 81 + ...calar_WithObjectParams(SqlServer.2025).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2025).sql | 30 + ...erProc_With_DataParams(SqlServer.2025).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2025).sql | 54 + ...Reader_With_DataParams(SqlServer.2025).sql | 81 + ...DataParams_AndBehavior(SqlServer.2025).sql | 81 + ...ader_With_ObjectParams(SqlServer.2025).sql | 54 + ...r_With_SingleDataParam(SqlServer.2025).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2025).sql | 30 + ...onQuery_WithDataParams(SqlServer.2025).sql | 81 + ...Query_WithObjectParams(SqlServer.2025).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2025).sql | 30 + ...alar_WithDataParameter(SqlServer.2025).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2025).sql | 81 + ...calar_WithObjectParams(SqlServer.2025).sql | 54 + ...tExtensionsTests.Query(SqlServer.2025).sql | 30 + ...chAsync_WithDataParams(SqlServer.2025).sql | 54 + ...Async_WithObjectParams(SqlServer.2025).sql | 27 + ...hReader_And_DataParams(SqlServer.2025).sql | 54 + ...eader_And_ObjectParams(SqlServer.2025).sql | 27 + ...ltiple_With_DataParams(SqlServer.2025).sql | 99 + ...ltiple_With_DataParams(SqlServer.2025).sql | 117 + ...iple_With_ObjectParams(SqlServer.2025).sql | 78 + ...hReader_And_DataParams(SqlServer.2025).sql | 99 + ...eader_And_ObjectParams(SqlServer.2025).sql | 66 + ...emplate_And_DataParams(SqlServer.2025).sql | 99 + ...plate_And_ObjectParams(SqlServer.2025).sql | 66 + ...ryProc_With_DataParams(SqlServer.2025).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2025).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2025).sql | 15 + ...sync_WithDataParameter(SqlServer.2025).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2025).sql | 54 + ...Async_WithObjectParams(SqlServer.2025).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2025).sql | 15 + ...hReader_And_DataParams(SqlServer.2025).sql | 54 + ...eader_And_ObjectParams(SqlServer.2025).sql | 27 + ...emplate_And_DataParams(SqlServer.2025).sql | 54 + ...plate_And_ObjectParams(SqlServer.2025).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2025).sql | 15 + ...able_WithDataParameter(SqlServer.2025).sql | 21 + ...merable_WithDataParams(SqlServer.2025).sql | 27 + ...rable_WithObjectParams(SqlServer.2025).sql | 27 + ...cEnumerable_WithReader(SqlServer.2025).sql | 15 + ...hReader_And_DataParams(SqlServer.2025).sql | 27 + ...eader_And_ObjectParams(SqlServer.2025).sql | 27 + ...emplate_And_DataParams(SqlServer.2025).sql | 27 + ...plate_And_ObjectParams(SqlServer.2025).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2025).sql | 15 + ...stAsync_WithDataParams(SqlServer.2025).sql | 54 + ...Async_WithDataParmeter(SqlServer.2025).sql | 21 + ...Async_WithObjectParams(SqlServer.2025).sql | 27 + ...ToListAsync_WithReader(SqlServer.2025).sql | 15 + ...hReader_And_DataParams(SqlServer.2025).sql | 54 + ...eader_And_ObjectParams(SqlServer.2025).sql | 27 + ...emplate_And_DataParams(SqlServer.2025).sql | 54 + ...plate_And_ObjectParams(SqlServer.2025).sql | 27 + ...s.Query_And_DataParams(SqlServer.2025).sql | 81 + ...Query_And_ObjectParams(SqlServer.2025).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2025).sql | 42 + ...Tests.Query_WithReader(SqlServer.2025).sql | 30 + ...hReader_And_DataParams(SqlServer.2025).sql | 81 + ...eader_And_ObjectParams(SqlServer.2025).sql | 54 + ...emplate_And_DataParams(SqlServer.2025).sql | 81 + ...plate_And_ObjectParams(SqlServer.2025).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2025).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,MultipleRows).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,ProviderSpecific).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,RowByRow).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,MultipleRows).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,ProviderSpecific).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,RowByRow).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025.MS).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,MultipleRows).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,ProviderSpecific).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,RowByRow).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,MultipleRows).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,ProviderSpecific).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,RowByRow).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025).sql create mode 100644 SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025).sql diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,MultipleRows).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,MultipleRows).sql new file mode 100644 index 000000000000..cfab3e30e0e5 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,ProviderSpecific).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..5706b1f6525b --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,RowByRow).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,RowByRow).sql new file mode 100644 index 000000000000..c290d158ef62 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,MultipleRows).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,MultipleRows).sql new file mode 100644 index 000000000000..cc4ee9ec30b9 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,ProviderSpecific).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..94f35cb7fa1b --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,RowByRow).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,RowByRow).sql new file mode 100644 index 000000000000..5da6ee903edd --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..9940f61a1ebb --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..a879da728759 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..7c0ca4e20f56 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..45770f5e1bd9 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1acad041bd46 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f508ebb98dc6 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..45770f5e1bd9 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..b0037fe39504 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..b0037fe39504 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..969460aad71e --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..81b1f967c9ba --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..24d40ab6f8b7 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..506f7e439fcb --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3deca578fadd --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..41f64a654572 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..d764f8101785 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..44711bee25d9 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..8741c5a8c5a5 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1acad041bd46 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..639f8cc0bab8 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..e24bfe28b8af --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f207a27fc2c9 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..0535f55ad161 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..5c49fd926c0a --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..0535f55ad161 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..5c49fd926c0a --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..0535f55ad161 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..5c49fd926c0a --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..dff7c388ce2b --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..dc2e54046f83 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..640dbc0cd930 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3b394b23a8f7 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..640dbc0cd930 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..640dbc0cd930 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..319ad8914923 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f336a11f6dd1 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1909b3be777f --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..3aa65302a2b3 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..dc2e54046f83 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..640dbc0cd930 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..2fbcf04ae536 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..e3ab87c7dd35 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..f84938c283b8 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..1acad041bd46 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..2fbcf04ae536 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..e3ab87c7dd35 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..9536bd007106 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..a909a6aaf3f0 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025.MS).sql b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025.MS).sql new file mode 100644 index 000000000000..0c2ffc14f837 --- /dev/null +++ b/SqlServer.2025.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025.MS SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,MultipleRows).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,MultipleRows).sql new file mode 100644 index 000000000000..b71ddee9acce --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,ProviderSpecific).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,ProviderSpecific).sql new file mode 100644 index 000000000000..a7867fdde929 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,RowByRow).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,RowByRow).sql new file mode 100644 index 000000000000..a3fc3846d450 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2025,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,MultipleRows).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,MultipleRows).sql new file mode 100644 index 000000000000..81aa2c2605d2 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,ProviderSpecific).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,ProviderSpecific).sql new file mode 100644 index 000000000000..a8749c758893 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,RowByRow).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,RowByRow).sql new file mode 100644 index 000000000000..85fabdaeab7d --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2025,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..c026e471b2b0 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..baa63deff3b1 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..261c87786bef --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..ef1a4c3b6a85 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025).sql new file mode 100644 index 000000000000..ac2fdc9669b8 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2025).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..b44b114efae7 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..ef1a4c3b6a85 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..c647401fc5bd --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025).sql new file mode 100644 index 000000000000..c647401fc5bd --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..e17bf35c4864 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025).sql new file mode 100644 index 000000000000..d082ed1aeb39 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2025).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025).sql new file mode 100644 index 000000000000..a5d517beefd7 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2025).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..7b115df93a2d --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..486b15073f76 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025).sql new file mode 100644 index 000000000000..83fb2048cbf5 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2025).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025).sql new file mode 100644 index 000000000000..9565cd53d13b --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2025).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..79ba2e998ed1 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..54c2b5cc6bfa --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025).sql new file mode 100644 index 000000000000..ac2fdc9669b8 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2025).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..b5c37f8c953b --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2025).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..aacd79eb5a18 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2025).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..c1394b6e1118 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..80b309761d2f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..5c7e4eee28b4 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..80b309761d2f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..5c7e4eee28b4 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..80b309761d2f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2025).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..5c7e4eee28b4 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025).sql new file mode 100644 index 000000000000..a5e9b10b8e02 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2025).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..f1e1b29ec61a --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..d094f53d5a7f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025).sql new file mode 100644 index 000000000000..0ca58eb11a5a --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2025).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..d094f53d5a7f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..d094f53d5a7f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025).sql new file mode 100644 index 000000000000..1e8203de79ff --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2025).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025).sql new file mode 100644 index 000000000000..a40f47f3b038 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2025).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..528660c08e31 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..894a69652c21 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..f1e1b29ec61a --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..d094f53d5a7f --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..fc574910da92 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..9049c28697c9 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025).sql new file mode 100644 index 000000000000..cabdcd7399a3 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2025).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025).sql new file mode 100644 index 000000000000..ac2fdc9669b8 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2025).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..fc574910da92 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..9049c28697c9 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025).sql new file mode 100644 index 000000000000..a18bded58264 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2025).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025).sql new file mode 100644 index 000000000000..5df39208db34 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025).sql b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025).sql new file mode 100644 index 000000000000..7ef92bbfaae8 --- /dev/null +++ b/SqlServer.2025/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2025).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2025 SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 630a32b1de4d395354dee030d429e0e4b610f585 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:28:57 +0000 Subject: [PATCH 21/41] [Windows / SQL Server 2022] baselines --- ...erable(SqlServer.2022.MS,MultipleRows).sql | 540 +++++ ...le(SqlServer.2022.MS,ProviderSpecific).sql | 378 ++++ ...Enumerable(SqlServer.2022.MS,RowByRow).sql | 972 +++++++++ ...erable(SqlServer.2022.MS,MultipleRows).sql | 1080 +++++++++ ...le(SqlServer.2022.MS,ProviderSpecific).sql | 756 +++++++ ...Enumerable(SqlServer.2022.MS,RowByRow).sql | 1944 +++++++++++++++++ ...uery_WithDataParams(SqlServer.2022.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2022.MS).sql | 54 + ...alar_WithDataParams(SqlServer.2022.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2022.MS).sql | 54 + ...Tests.ExecuteReader(SqlServer.2022.MS).sql | 30 + ...roc_With_DataParams(SqlServer.2022.MS).sql | 81 + ...c_With_ObjectParams(SqlServer.2022.MS).sql | 54 + ...der_With_DataParams(SqlServer.2022.MS).sql | 81 + ...aParams_AndBehavior(SqlServer.2022.MS).sql | 81 + ...r_With_ObjectParams(SqlServer.2022.MS).sql | 54 + ...ith_SingleDataParam(SqlServer.2022.MS).sql | 42 + ...ts.Execute_NonQuery(SqlServer.2022.MS).sql | 30 + ...uery_WithDataParams(SqlServer.2022.MS).sql | 81 + ...ry_WithObjectParams(SqlServer.2022.MS).sql | 66 + ...ests.Execute_Scalar(SqlServer.2022.MS).sql | 30 + ...r_WithDataParameter(SqlServer.2022.MS).sql | 42 + ...alar_WithDataParams(SqlServer.2022.MS).sql | 81 + ...ar_WithObjectParams(SqlServer.2022.MS).sql | 54 + ...tensionsTests.Query(SqlServer.2022.MS).sql | 30 + ...sync_WithDataParams(SqlServer.2022.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2022.MS).sql | 27 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...ple_With_DataParams(SqlServer.2022.MS).sql | 99 + ...ple_With_DataParams(SqlServer.2022.MS).sql | 117 + ...e_With_ObjectParams(SqlServer.2022.MS).sql | 78 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 99 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 66 + ...late_And_DataParams(SqlServer.2022.MS).sql | 99 + ...te_And_ObjectParams(SqlServer.2022.MS).sql | 66 + ...roc_With_DataParams(SqlServer.2022.MS).sql | 99 + ...c_With_ObjectParams(SqlServer.2022.MS).sql | 66 + ...s.QueryToArrayAsync(SqlServer.2022.MS).sql | 15 + ...c_WithDataParameter(SqlServer.2022.MS).sql | 21 + ...sync_WithDataParams(SqlServer.2022.MS).sql | 54 + ...nc_WithObjectParams(SqlServer.2022.MS).sql | 27 + ...rayAsync_WithReader(SqlServer.2022.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...late_And_DataParams(SqlServer.2022.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...ryToAsyncEnumerable(SqlServer.2022.MS).sql | 15 + ...e_WithDataParameter(SqlServer.2022.MS).sql | 21 + ...able_WithDataParams(SqlServer.2022.MS).sql | 27 + ...le_WithObjectParams(SqlServer.2022.MS).sql | 27 + ...umerable_WithReader(SqlServer.2022.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 27 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...late_And_DataParams(SqlServer.2022.MS).sql | 27 + ...te_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...ts.QueryToListAsync(SqlServer.2022.MS).sql | 15 + ...sync_WithDataParams(SqlServer.2022.MS).sql | 54 + ...nc_WithDataParmeter(SqlServer.2022.MS).sql | 21 + ...nc_WithObjectParams(SqlServer.2022.MS).sql | 27 + ...istAsync_WithReader(SqlServer.2022.MS).sql | 15 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 54 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...late_And_DataParams(SqlServer.2022.MS).sql | 54 + ...te_And_ObjectParams(SqlServer.2022.MS).sql | 27 + ...uery_And_DataParams(SqlServer.2022.MS).sql | 81 + ...ry_And_ObjectParams(SqlServer.2022.MS).sql | 54 + ...And_SingleDataParam(SqlServer.2022.MS).sql | 42 + ...ts.Query_WithReader(SqlServer.2022.MS).sql | 30 + ...ader_And_DataParams(SqlServer.2022.MS).sql | 81 + ...er_And_ObjectParams(SqlServer.2022.MS).sql | 54 + ...late_And_DataParams(SqlServer.2022.MS).sql | 81 + ...te_And_ObjectParams(SqlServer.2022.MS).sql | 54 + ...ts.RetrieveIdentity(SqlServer.2022.MS).sql | 54 + ...numerable(SqlServer.2022,MultipleRows).sql | 540 +++++ ...rable(SqlServer.2022,ProviderSpecific).sql | 378 ++++ ...yncEnumerable(SqlServer.2022,RowByRow).sql | 972 +++++++++ ...numerable(SqlServer.2022,MultipleRows).sql | 1080 +++++++++ ...rable(SqlServer.2022,ProviderSpecific).sql | 756 +++++++ ...py_Enumerable(SqlServer.2022,RowByRow).sql | 1944 +++++++++++++++++ ...onQuery_WithDataParams(SqlServer.2022).sql | 81 + ...Query_WithObjectParams(SqlServer.2022).sql | 54 + ..._Scalar_WithDataParams(SqlServer.2022).sql | 81 + ...calar_WithObjectParams(SqlServer.2022).sql | 54 + ...onsTests.ExecuteReader(SqlServer.2022).sql | 30 + ...erProc_With_DataParams(SqlServer.2022).sql | 81 + ...Proc_With_ObjectParams(SqlServer.2022).sql | 54 + ...Reader_With_DataParams(SqlServer.2022).sql | 81 + ...DataParams_AndBehavior(SqlServer.2022).sql | 81 + ...ader_With_ObjectParams(SqlServer.2022).sql | 54 + ...r_With_SingleDataParam(SqlServer.2022).sql | 42 + ...Tests.Execute_NonQuery(SqlServer.2022).sql | 30 + ...onQuery_WithDataParams(SqlServer.2022).sql | 81 + ...Query_WithObjectParams(SqlServer.2022).sql | 66 + ...nsTests.Execute_Scalar(SqlServer.2022).sql | 30 + ...alar_WithDataParameter(SqlServer.2022).sql | 42 + ..._Scalar_WithDataParams(SqlServer.2022).sql | 81 + ...calar_WithObjectParams(SqlServer.2022).sql | 54 + ...tExtensionsTests.Query(SqlServer.2022).sql | 30 + ...chAsync_WithDataParams(SqlServer.2022).sql | 54 + ...Async_WithObjectParams(SqlServer.2022).sql | 27 + ...hReader_And_DataParams(SqlServer.2022).sql | 54 + ...eader_And_ObjectParams(SqlServer.2022).sql | 27 + ...ltiple_With_DataParams(SqlServer.2022).sql | 99 + ...ltiple_With_DataParams(SqlServer.2022).sql | 117 + ...iple_With_ObjectParams(SqlServer.2022).sql | 78 + ...hReader_And_DataParams(SqlServer.2022).sql | 99 + ...eader_And_ObjectParams(SqlServer.2022).sql | 66 + ...emplate_And_DataParams(SqlServer.2022).sql | 99 + ...plate_And_ObjectParams(SqlServer.2022).sql | 66 + ...ryProc_With_DataParams(SqlServer.2022).sql | 99 + ...Proc_With_ObjectParams(SqlServer.2022).sql | 66 + ...ests.QueryToArrayAsync(SqlServer.2022).sql | 15 + ...sync_WithDataParameter(SqlServer.2022).sql | 21 + ...ayAsync_WithDataParams(SqlServer.2022).sql | 54 + ...Async_WithObjectParams(SqlServer.2022).sql | 27 + ...oArrayAsync_WithReader(SqlServer.2022).sql | 15 + ...hReader_And_DataParams(SqlServer.2022).sql | 54 + ...eader_And_ObjectParams(SqlServer.2022).sql | 27 + ...emplate_And_DataParams(SqlServer.2022).sql | 54 + ...plate_And_ObjectParams(SqlServer.2022).sql | 27 + ...QueryToAsyncEnumerable(SqlServer.2022).sql | 15 + ...able_WithDataParameter(SqlServer.2022).sql | 21 + ...merable_WithDataParams(SqlServer.2022).sql | 27 + ...rable_WithObjectParams(SqlServer.2022).sql | 27 + ...cEnumerable_WithReader(SqlServer.2022).sql | 15 + ...hReader_And_DataParams(SqlServer.2022).sql | 27 + ...eader_And_ObjectParams(SqlServer.2022).sql | 27 + ...emplate_And_DataParams(SqlServer.2022).sql | 27 + ...plate_And_ObjectParams(SqlServer.2022).sql | 27 + ...Tests.QueryToListAsync(SqlServer.2022).sql | 15 + ...stAsync_WithDataParams(SqlServer.2022).sql | 54 + ...Async_WithDataParmeter(SqlServer.2022).sql | 21 + ...Async_WithObjectParams(SqlServer.2022).sql | 27 + ...ToListAsync_WithReader(SqlServer.2022).sql | 15 + ...hReader_And_DataParams(SqlServer.2022).sql | 54 + ...eader_And_ObjectParams(SqlServer.2022).sql | 27 + ...emplate_And_DataParams(SqlServer.2022).sql | 54 + ...plate_And_ObjectParams(SqlServer.2022).sql | 27 + ...s.Query_And_DataParams(SqlServer.2022).sql | 81 + ...Query_And_ObjectParams(SqlServer.2022).sql | 54 + ...ry_And_SingleDataParam(SqlServer.2022).sql | 42 + ...Tests.Query_WithReader(SqlServer.2022).sql | 30 + ...hReader_And_DataParams(SqlServer.2022).sql | 81 + ...eader_And_ObjectParams(SqlServer.2022).sql | 54 + ...emplate_And_DataParams(SqlServer.2022).sql | 81 + ...plate_And_ObjectParams(SqlServer.2022).sql | 54 + ...Tests.RetrieveIdentity(SqlServer.2022).sql | 54 + 148 files changed, 18120 insertions(+) create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,MultipleRows).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,ProviderSpecific).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,RowByRow).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,MultipleRows).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,ProviderSpecific).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,RowByRow).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022.MS).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,MultipleRows).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,ProviderSpecific).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,RowByRow).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,MultipleRows).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,ProviderSpecific).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,RowByRow).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022).sql create mode 100644 SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022).sql diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,MultipleRows).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,MultipleRows).sql new file mode 100644 index 000000000000..0cac517d9289 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,ProviderSpecific).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..fc8732569b72 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,RowByRow).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,RowByRow).sql new file mode 100644 index 000000000000..b88818bb1109 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,MultipleRows).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,MultipleRows).sql new file mode 100644 index 000000000000..a26b31565756 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,ProviderSpecific).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..266aca558110 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,RowByRow).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,RowByRow).sql new file mode 100644 index 000000000000..fb20d1038b1d --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..875f5dab40a7 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e7593752a092 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..5ac8460762bb --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e6b13df3bcba --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..740bf5ce97fb --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..04b45f90afae --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e6b13df3bcba --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..2b617174fd9c --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..2b617174fd9c --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ca04dc87cdfc --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e27070f774f0 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..2fbc2489e42f --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..07580afbe411 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..7ab84bda02c3 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..0ab74d2aebde --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..d2e85023dfd0 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..bca8639fec48 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..0a3560c10886 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..740bf5ce97fb --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..d78b76503450 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..a996cb7d737c --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..0cee714a3b44 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..4152413f6acd --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e2d21d76de54 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..4152413f6acd --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e2d21d76de54 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..4152413f6acd --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e2d21d76de54 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..72e7cec34e7b --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..137023e5c44e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b89f80c3495e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed0d8dc1bad5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b89f80c3495e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b89f80c3495e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..35ac03dfe9f9 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..ed65effacbc5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..e3d3950fd0d5 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b34f1a6284c8 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..137023e5c44e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..b89f80c3495e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..30e2e1c72647 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..1660c5344e69 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..6793f3a4bf17 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..740bf5ce97fb --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..30e2e1c72647 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..1660c5344e69 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..47451cd1bcca --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..90c01908577e --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022.MS).sql b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022.MS).sql new file mode 100644 index 000000000000..6c2c967d2302 --- /dev/null +++ b/SqlServer.2022.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022.MS SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,MultipleRows).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,MultipleRows).sql new file mode 100644 index 000000000000..580f1decaccf --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,ProviderSpecific).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,ProviderSpecific).sql new file mode 100644 index 000000000000..bb6a66bd2872 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,RowByRow).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,RowByRow).sql new file mode 100644 index 000000000000..283401535b3b --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.2022,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,MultipleRows).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,MultipleRows).sql new file mode 100644 index 000000000000..af39753fe2d1 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,ProviderSpecific).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,ProviderSpecific).sql new file mode 100644 index 000000000000..dfa7adb237aa --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,RowByRow).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,RowByRow).sql new file mode 100644 index 000000000000..67598dd5e46a --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.2022,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.2022 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.2022 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..8298779ebd72 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c53f2cb88f86 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..fe9fe45bc54c --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..917c61920c72 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022).sql new file mode 100644 index 000000000000..15246faf7666 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.2022).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..2948ec89fd96 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..917c61920c72 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..db12dd889b17 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022).sql new file mode 100644 index 000000000000..db12dd889b17 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..18a7e0fffcd4 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022).sql new file mode 100644 index 000000000000..6903b70db45a --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.2022).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022).sql new file mode 100644 index 000000000000..dd76967a3189 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.2022).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..05dfcdcd02f1 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..97a5e9bf3bb0 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022).sql new file mode 100644 index 000000000000..fe04ae3e9f11 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.2022).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022 + +SELECT 5 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022).sql new file mode 100644 index 000000000000..4f489b61fb83 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.2022).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..ff23b1ee3dc2 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..6a9252bdff27 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022).sql new file mode 100644 index 000000000000..15246faf7666 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.2022).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..651b264b8e9f --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.2022).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..6dccd9b8eb74 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.2022).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..5e787806a482 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..0e2c2b279281 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b977b862a0b2 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..0e2c2b279281 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b977b862a0b2 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..0e2c2b279281 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.2022).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b977b862a0b2 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022).sql new file mode 100644 index 000000000000..94499b5d7860 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.2022).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..1e735ca4243c --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..f848a9a79508 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022).sql new file mode 100644 index 000000000000..595781846d72 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.2022).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..f848a9a79508 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..f848a9a79508 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022).sql new file mode 100644 index 000000000000..2cabfeeff1dd --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.2022).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022).sql new file mode 100644 index 000000000000..7f761eee6f4e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.2022).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..c935c7119ee6 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..b749f5c221ff --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..1e735ca4243c --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..f848a9a79508 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..8c74a0b06b60 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..9885807574c0 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022).sql new file mode 100644 index 000000000000..41761fd00e21 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.2022).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022).sql new file mode 100644 index 000000000000..15246faf7666 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.2022).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.2022 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..8c74a0b06b60 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..9885807574c0 --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022).sql new file mode 100644 index 000000000000..e9c6a5495a7f --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.2022).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022).sql new file mode 100644 index 000000000000..f74aa1289b0e --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022).sql b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022).sql new file mode 100644 index 000000000000..7ba4df6f126f --- /dev/null +++ b/SqlServer.2022/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.2022).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.2022 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 13eca2df6ddad1dcf6f04e6c1404d8e27c923911 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:34:36 +0200 Subject: [PATCH 22/41] [Linux / Oracle 12c] baselines --- ...erable(Oracle.12.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.12.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.12.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.12.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.12.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.12.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.12.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.12.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.12.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.12.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.12.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.12.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,MultipleRows).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,ProviderSpecific).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,RowByRow).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertAll).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertDual).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertInto).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,MultipleRows).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,ProviderSpecific).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,RowByRow).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertAll).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertDual).sql create mode 100644 Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertInto).sql diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,MultipleRows).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,MultipleRows).sql new file mode 100644 index 000000000000..952fdff9a5a2 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,ProviderSpecific).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..0e22c1a32726 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,RowByRow).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,RowByRow).sql new file mode 100644 index 000000000000..2dff27b8c02d --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.12.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertAll).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertAll).sql new file mode 100644 index 000000000000..952fdff9a5a2 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertDual).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertDual).sql new file mode 100644 index 000000000000..41169bb92df6 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertInto).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertInto).sql new file mode 100644 index 000000000000..9220eb4546ee --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.12.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,MultipleRows).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,MultipleRows).sql new file mode 100644 index 000000000000..05e4da860a62 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,ProviderSpecific).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..b6002e093fd6 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,RowByRow).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,RowByRow).sql new file mode 100644 index 000000000000..87f90003e43d --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.12.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertAll).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertAll).sql new file mode 100644 index 000000000000..05e4da860a62 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertDual).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertDual).sql new file mode 100644 index 000000000000..05e4da860a62 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertInto).sql b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertInto).sql new file mode 100644 index 000000000000..05e4da860a62 --- /dev/null +++ b/Oracle.12.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.12.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.12.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + From a78ebf63670bf30ca8ab20cc885873c5fdda3328 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:35:31 +0000 Subject: [PATCH 23/41] [Linux / PostgreSQL 13] baselines --- ...Enumerable(PostgreSQL.13,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.13,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.13,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.13,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.13,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.13,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,MultipleRows).sql create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,ProviderSpecific).sql create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,RowByRow).sql create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,MultipleRows).sql create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,ProviderSpecific).sql create mode 100644 PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,RowByRow).sql diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,MultipleRows).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,MultipleRows).sql new file mode 100644 index 000000000000..bafae3d47090 --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,ProviderSpecific).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,ProviderSpecific).sql new file mode 100644 index 000000000000..a47ec2524e27 --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,RowByRow).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,RowByRow).sql new file mode 100644 index 000000000000..d34c8c4b2710 --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.13,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,MultipleRows).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,MultipleRows).sql new file mode 100644 index 000000000000..5b5ce80c5104 --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,ProviderSpecific).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,ProviderSpecific).sql new file mode 100644 index 000000000000..280f1be8eef7 --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,RowByRow).sql b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,RowByRow).sql new file mode 100644 index 000000000000..780507d47a8c --- /dev/null +++ b/PostgreSQL.13/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.13,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.13 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From 75491c7e5a858d905722c62fbe238fff735dde28 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:35:40 +0000 Subject: [PATCH 24/41] [Linux / PostgreSQL 15] baselines --- ...Enumerable(PostgreSQL.15,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.15,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.15,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.15,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.15,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.15,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,MultipleRows).sql create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,ProviderSpecific).sql create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,RowByRow).sql create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,MultipleRows).sql create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,ProviderSpecific).sql create mode 100644 PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,RowByRow).sql diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,MultipleRows).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,MultipleRows).sql new file mode 100644 index 000000000000..839cb2ed69a2 --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,ProviderSpecific).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,ProviderSpecific).sql new file mode 100644 index 000000000000..e97d4df85616 --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,RowByRow).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,RowByRow).sql new file mode 100644 index 000000000000..8c0f775a4c39 --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.15,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,MultipleRows).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,MultipleRows).sql new file mode 100644 index 000000000000..9f4d229ef74d --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,ProviderSpecific).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,ProviderSpecific).sql new file mode 100644 index 000000000000..bc93887a7781 --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,RowByRow).sql b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,RowByRow).sql new file mode 100644 index 000000000000..539b2bd8bac2 --- /dev/null +++ b/PostgreSQL.15/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.15,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From 83dbe022fbde43090998f0fb55d7d371e43dfb8f Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:36:29 +0200 Subject: [PATCH 25/41] [Linux / Oracle 18c] baselines --- ...erable(Oracle.18.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.18.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.18.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.18.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.18.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.18.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.18.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.18.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.18.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.18.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.18.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.18.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,MultipleRows).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,ProviderSpecific).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,RowByRow).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertAll).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertDual).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertInto).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,MultipleRows).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,ProviderSpecific).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,RowByRow).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertAll).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertDual).sql create mode 100644 Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertInto).sql diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,MultipleRows).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,MultipleRows).sql new file mode 100644 index 000000000000..890d69cc10e8 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,ProviderSpecific).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..280780ddf9c2 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,RowByRow).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,RowByRow).sql new file mode 100644 index 000000000000..3b04863c841a --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.18.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertAll).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertAll).sql new file mode 100644 index 000000000000..890d69cc10e8 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertDual).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertDual).sql new file mode 100644 index 000000000000..b7fb3c1d2fa6 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertInto).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertInto).sql new file mode 100644 index 000000000000..94a19473cf69 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.18.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,MultipleRows).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,MultipleRows).sql new file mode 100644 index 000000000000..36841393b8b1 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,ProviderSpecific).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..5b351bb0e993 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,RowByRow).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,RowByRow).sql new file mode 100644 index 000000000000..02ea8c8ec520 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.18.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertAll).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertAll).sql new file mode 100644 index 000000000000..36841393b8b1 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertDual).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertDual).sql new file mode 100644 index 000000000000..36841393b8b1 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertInto).sql b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertInto).sql new file mode 100644 index 000000000000..36841393b8b1 --- /dev/null +++ b/Oracle.18.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.18.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.18.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + From 1af61a4e5c4f7ffeb255ad622f398d06ed14f5cd Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:36:37 +0000 Subject: [PATCH 26/41] [Linux / ClickHouse Octonica] baselines --- ...able(ClickHouse.Octonica,MultipleRows).sql | 540 ++++++ ...(ClickHouse.Octonica,ProviderSpecific).sql | 396 ++++ ...umerable(ClickHouse.Octonica,RowByRow).sql | 828 +++++++++ ...able(ClickHouse.Octonica,MultipleRows).sql | 1080 +++++++++++ ...(ClickHouse.Octonica,ProviderSpecific).sql | 792 ++++++++ ...umerable(ClickHouse.Octonica,RowByRow).sql | 1656 +++++++++++++++++ 6 files changed, 5292 insertions(+) create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,MultipleRows).sql create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,ProviderSpecific).sql create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,RowByRow).sql create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,MultipleRows).sql create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,ProviderSpecific).sql create mode 100644 ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,RowByRow).sql diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,MultipleRows).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,MultipleRows).sql new file mode 100644 index 000000000000..eddc0fd1ec8a --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,ProviderSpecific).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,ProviderSpecific).sql new file mode 100644 index 000000000000..302b1c18af15 --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,ProviderSpecific).sql @@ -0,0 +1,396 @@ +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,RowByRow).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,RowByRow).sql new file mode 100644 index 000000000000..cc2f00321f9a --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Octonica,RowByRow).sql @@ -0,0 +1,828 @@ +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,MultipleRows).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,MultipleRows).sql new file mode 100644 index 000000000000..e537da438125 --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,ProviderSpecific).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,ProviderSpecific).sql new file mode 100644 index 000000000000..6db04bc6f308 --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,ProviderSpecific).sql @@ -0,0 +1,792 @@ +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT INTO BulkCopyTable(Id, Value) VALUES + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,RowByRow).sql b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,RowByRow).sql new file mode 100644 index 000000000000..9fa27b161688 --- /dev/null +++ b/ClickHouse.Octonica/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Octonica,RowByRow).sql @@ -0,0 +1,1656 @@ +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Octonica ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + From 3a46f6266cf866264f518845e8d89c9318e58b2a Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:37:21 +0200 Subject: [PATCH 27/41] [Linux / Oracle 21c] baselines --- ...erable(Oracle.21.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.21.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.21.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.21.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.21.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.21.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.21.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.21.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.21.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.21.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.21.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.21.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,MultipleRows).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,ProviderSpecific).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,RowByRow).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertAll).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertDual).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertInto).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,MultipleRows).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,ProviderSpecific).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,RowByRow).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertAll).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertDual).sql create mode 100644 Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertInto).sql diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,MultipleRows).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,MultipleRows).sql new file mode 100644 index 000000000000..fadcb16565b3 --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,ProviderSpecific).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..9bc26fdee761 --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,RowByRow).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,RowByRow).sql new file mode 100644 index 000000000000..a381abeced1d --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.21.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertAll).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertAll).sql new file mode 100644 index 000000000000..fadcb16565b3 --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertDual).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertDual).sql new file mode 100644 index 000000000000..2ad9f97902cd --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertInto).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertInto).sql new file mode 100644 index 000000000000..4b842e98f218 --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.21.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,MultipleRows).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,MultipleRows).sql new file mode 100644 index 000000000000..05d427f2ef4b --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,ProviderSpecific).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..36fe3d52f372 --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,RowByRow).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,RowByRow).sql new file mode 100644 index 000000000000..4bcd31acf51c --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.21.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertAll).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertAll).sql new file mode 100644 index 000000000000..05d427f2ef4b --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertDual).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertDual).sql new file mode 100644 index 000000000000..05d427f2ef4b --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertInto).sql b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertInto).sql new file mode 100644 index 000000000000..05d427f2ef4b --- /dev/null +++ b/Oracle.21.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.21.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.21.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + From 765bfc0f55c9d9288c63a4161c03b1b1ec59fd8f Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:40:43 +0000 Subject: [PATCH 28/41] [Windows / SQL Server EXTRAS] baselines --- ...e(SqlServer.Contained.MS,MultipleRows).sql | 540 +++++ ...lServer.Contained.MS,ProviderSpecific).sql | 378 ++++ ...rable(SqlServer.Contained.MS,RowByRow).sql | 972 +++++++++ ...e(SqlServer.Contained.MS,MultipleRows).sql | 1080 +++++++++ ...lServer.Contained.MS,ProviderSpecific).sql | 756 +++++++ ...rable(SqlServer.Contained.MS,RowByRow).sql | 1944 +++++++++++++++++ ...WithDataParams(SqlServer.Contained.MS).sql | 81 + ...thObjectParams(SqlServer.Contained.MS).sql | 54 + ...WithDataParams(SqlServer.Contained.MS).sql | 81 + ...thObjectParams(SqlServer.Contained.MS).sql | 54 + ....ExecuteReader(SqlServer.Contained.MS).sql | 30 + ...ith_DataParams(SqlServer.Contained.MS).sql | 81 + ...h_ObjectParams(SqlServer.Contained.MS).sql | 54 + ...ith_DataParams(SqlServer.Contained.MS).sql | 81 + ...ms_AndBehavior(SqlServer.Contained.MS).sql | 81 + ...h_ObjectParams(SqlServer.Contained.MS).sql | 54 + ...ingleDataParam(SqlServer.Contained.MS).sql | 42 + ...ecute_NonQuery(SqlServer.Contained.MS).sql | 30 + ...WithDataParams(SqlServer.Contained.MS).sql | 81 + ...thObjectParams(SqlServer.Contained.MS).sql | 66 + ...Execute_Scalar(SqlServer.Contained.MS).sql | 30 + ...hDataParameter(SqlServer.Contained.MS).sql | 42 + ...WithDataParams(SqlServer.Contained.MS).sql | 81 + ...thObjectParams(SqlServer.Contained.MS).sql | 54 + ...onsTests.Query(SqlServer.Contained.MS).sql | 30 + ...WithDataParams(SqlServer.Contained.MS).sql | 54 + ...thObjectParams(SqlServer.Contained.MS).sql | 27 + ...And_DataParams(SqlServer.Contained.MS).sql | 54 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...ith_DataParams(SqlServer.Contained.MS).sql | 99 + ...ith_DataParams(SqlServer.Contained.MS).sql | 117 + ...h_ObjectParams(SqlServer.Contained.MS).sql | 78 + ...And_DataParams(SqlServer.Contained.MS).sql | 99 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 66 + ...And_DataParams(SqlServer.Contained.MS).sql | 99 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 66 + ...ith_DataParams(SqlServer.Contained.MS).sql | 99 + ...h_ObjectParams(SqlServer.Contained.MS).sql | 66 + ...ryToArrayAsync(SqlServer.Contained.MS).sql | 15 + ...hDataParameter(SqlServer.Contained.MS).sql | 21 + ...WithDataParams(SqlServer.Contained.MS).sql | 54 + ...thObjectParams(SqlServer.Contained.MS).sql | 27 + ...ync_WithReader(SqlServer.Contained.MS).sql | 15 + ...And_DataParams(SqlServer.Contained.MS).sql | 54 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...And_DataParams(SqlServer.Contained.MS).sql | 54 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...syncEnumerable(SqlServer.Contained.MS).sql | 15 + ...hDataParameter(SqlServer.Contained.MS).sql | 21 + ...WithDataParams(SqlServer.Contained.MS).sql | 27 + ...thObjectParams(SqlServer.Contained.MS).sql | 27 + ...ble_WithReader(SqlServer.Contained.MS).sql | 15 + ...And_DataParams(SqlServer.Contained.MS).sql | 27 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...And_DataParams(SqlServer.Contained.MS).sql | 27 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...eryToListAsync(SqlServer.Contained.MS).sql | 15 + ...WithDataParams(SqlServer.Contained.MS).sql | 54 + ...thDataParmeter(SqlServer.Contained.MS).sql | 21 + ...thObjectParams(SqlServer.Contained.MS).sql | 27 + ...ync_WithReader(SqlServer.Contained.MS).sql | 15 + ...And_DataParams(SqlServer.Contained.MS).sql | 54 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...And_DataParams(SqlServer.Contained.MS).sql | 54 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 27 + ...And_DataParams(SqlServer.Contained.MS).sql | 81 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 54 + ...ingleDataParam(SqlServer.Contained.MS).sql | 42 + ...ery_WithReader(SqlServer.Contained.MS).sql | 30 + ...And_DataParams(SqlServer.Contained.MS).sql | 81 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 54 + ...And_DataParams(SqlServer.Contained.MS).sql | 81 + ...d_ObjectParams(SqlServer.Contained.MS).sql | 54 + ...trieveIdentity(SqlServer.Contained.MS).sql | 54 + ...able(SqlServer.Contained,MultipleRows).sql | 540 +++++ ...(SqlServer.Contained,ProviderSpecific).sql | 378 ++++ ...umerable(SqlServer.Contained,RowByRow).sql | 972 +++++++++ ...able(SqlServer.Contained,MultipleRows).sql | 1080 +++++++++ ...(SqlServer.Contained,ProviderSpecific).sql | 756 +++++++ ...umerable(SqlServer.Contained,RowByRow).sql | 1944 +++++++++++++++++ ...ry_WithDataParams(SqlServer.Contained).sql | 81 + ..._WithObjectParams(SqlServer.Contained).sql | 54 + ...ar_WithDataParams(SqlServer.Contained).sql | 81 + ..._WithObjectParams(SqlServer.Contained).sql | 54 + ...sts.ExecuteReader(SqlServer.Contained).sql | 30 + ...c_With_DataParams(SqlServer.Contained).sql | 81 + ...With_ObjectParams(SqlServer.Contained).sql | 54 + ...r_With_DataParams(SqlServer.Contained).sql | 81 + ...arams_AndBehavior(SqlServer.Contained).sql | 81 + ...With_ObjectParams(SqlServer.Contained).sql | 54 + ...h_SingleDataParam(SqlServer.Contained).sql | 42 + ....Execute_NonQuery(SqlServer.Contained).sql | 30 + ...ry_WithDataParams(SqlServer.Contained).sql | 81 + ..._WithObjectParams(SqlServer.Contained).sql | 66 + ...ts.Execute_Scalar(SqlServer.Contained).sql | 30 + ...WithDataParameter(SqlServer.Contained).sql | 42 + ...ar_WithDataParams(SqlServer.Contained).sql | 81 + ..._WithObjectParams(SqlServer.Contained).sql | 54 + ...nsionsTests.Query(SqlServer.Contained).sql | 30 + ...nc_WithDataParams(SqlServer.Contained).sql | 54 + ..._WithObjectParams(SqlServer.Contained).sql | 27 + ...er_And_DataParams(SqlServer.Contained).sql | 54 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...e_With_DataParams(SqlServer.Contained).sql | 99 + ...e_With_DataParams(SqlServer.Contained).sql | 117 + ...With_ObjectParams(SqlServer.Contained).sql | 78 + ...er_And_DataParams(SqlServer.Contained).sql | 99 + ..._And_ObjectParams(SqlServer.Contained).sql | 66 + ...te_And_DataParams(SqlServer.Contained).sql | 99 + ..._And_ObjectParams(SqlServer.Contained).sql | 66 + ...c_With_DataParams(SqlServer.Contained).sql | 99 + ...With_ObjectParams(SqlServer.Contained).sql | 66 + ...QueryToArrayAsync(SqlServer.Contained).sql | 15 + ...WithDataParameter(SqlServer.Contained).sql | 21 + ...nc_WithDataParams(SqlServer.Contained).sql | 54 + ..._WithObjectParams(SqlServer.Contained).sql | 27 + ...yAsync_WithReader(SqlServer.Contained).sql | 15 + ...er_And_DataParams(SqlServer.Contained).sql | 54 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...te_And_DataParams(SqlServer.Contained).sql | 54 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...ToAsyncEnumerable(SqlServer.Contained).sql | 15 + ...WithDataParameter(SqlServer.Contained).sql | 21 + ...le_WithDataParams(SqlServer.Contained).sql | 27 + ..._WithObjectParams(SqlServer.Contained).sql | 27 + ...erable_WithReader(SqlServer.Contained).sql | 15 + ...er_And_DataParams(SqlServer.Contained).sql | 27 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...te_And_DataParams(SqlServer.Contained).sql | 27 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ....QueryToListAsync(SqlServer.Contained).sql | 15 + ...nc_WithDataParams(SqlServer.Contained).sql | 54 + ..._WithDataParmeter(SqlServer.Contained).sql | 21 + ..._WithObjectParams(SqlServer.Contained).sql | 27 + ...tAsync_WithReader(SqlServer.Contained).sql | 15 + ...er_And_DataParams(SqlServer.Contained).sql | 54 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...te_And_DataParams(SqlServer.Contained).sql | 54 + ..._And_ObjectParams(SqlServer.Contained).sql | 27 + ...ry_And_DataParams(SqlServer.Contained).sql | 81 + ..._And_ObjectParams(SqlServer.Contained).sql | 54 + ...d_SingleDataParam(SqlServer.Contained).sql | 42 + ....Query_WithReader(SqlServer.Contained).sql | 30 + ...er_And_DataParams(SqlServer.Contained).sql | 81 + ..._And_ObjectParams(SqlServer.Contained).sql | 54 + ...te_And_DataParams(SqlServer.Contained).sql | 81 + ..._And_ObjectParams(SqlServer.Contained).sql | 54 + ....RetrieveIdentity(SqlServer.Contained).sql | 54 + ...umerable(SqlServer.SA.MS,MultipleRows).sql | 540 +++++ ...able(SqlServer.SA.MS,ProviderSpecific).sql | 378 ++++ ...ncEnumerable(SqlServer.SA.MS,RowByRow).sql | 972 +++++++++ ...umerable(SqlServer.SA.MS,MultipleRows).sql | 1080 +++++++++ ...able(SqlServer.SA.MS,ProviderSpecific).sql | 756 +++++++ ...y_Enumerable(SqlServer.SA.MS,RowByRow).sql | 1944 +++++++++++++++++ ...nQuery_WithDataParams(SqlServer.SA.MS).sql | 81 + ...uery_WithObjectParams(SqlServer.SA.MS).sql | 54 + ...Scalar_WithDataParams(SqlServer.SA.MS).sql | 81 + ...alar_WithObjectParams(SqlServer.SA.MS).sql | 54 + ...nsTests.ExecuteReader(SqlServer.SA.MS).sql | 30 + ...rProc_With_DataParams(SqlServer.SA.MS).sql | 81 + ...roc_With_ObjectParams(SqlServer.SA.MS).sql | 54 + ...eader_With_DataParams(SqlServer.SA.MS).sql | 81 + ...ataParams_AndBehavior(SqlServer.SA.MS).sql | 81 + ...der_With_ObjectParams(SqlServer.SA.MS).sql | 54 + ..._With_SingleDataParam(SqlServer.SA.MS).sql | 42 + ...ests.Execute_NonQuery(SqlServer.SA.MS).sql | 30 + ...nQuery_WithDataParams(SqlServer.SA.MS).sql | 81 + ...uery_WithObjectParams(SqlServer.SA.MS).sql | 66 + ...sTests.Execute_Scalar(SqlServer.SA.MS).sql | 30 + ...lar_WithDataParameter(SqlServer.SA.MS).sql | 42 + ...Scalar_WithDataParams(SqlServer.SA.MS).sql | 81 + ...alar_WithObjectParams(SqlServer.SA.MS).sql | 54 + ...ExtensionsTests.Query(SqlServer.SA.MS).sql | 30 + ...hAsync_WithDataParams(SqlServer.SA.MS).sql | 54 + ...sync_WithObjectParams(SqlServer.SA.MS).sql | 27 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 54 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...tiple_With_DataParams(SqlServer.SA.MS).sql | 99 + ...tiple_With_DataParams(SqlServer.SA.MS).sql | 117 + ...ple_With_ObjectParams(SqlServer.SA.MS).sql | 78 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 99 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 66 + ...mplate_And_DataParams(SqlServer.SA.MS).sql | 99 + ...late_And_ObjectParams(SqlServer.SA.MS).sql | 66 + ...yProc_With_DataParams(SqlServer.SA.MS).sql | 99 + ...roc_With_ObjectParams(SqlServer.SA.MS).sql | 66 + ...sts.QueryToArrayAsync(SqlServer.SA.MS).sql | 15 + ...ync_WithDataParameter(SqlServer.SA.MS).sql | 21 + ...yAsync_WithDataParams(SqlServer.SA.MS).sql | 54 + ...sync_WithObjectParams(SqlServer.SA.MS).sql | 27 + ...ArrayAsync_WithReader(SqlServer.SA.MS).sql | 15 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 54 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...mplate_And_DataParams(SqlServer.SA.MS).sql | 54 + ...late_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...ueryToAsyncEnumerable(SqlServer.SA.MS).sql | 15 + ...ble_WithDataParameter(SqlServer.SA.MS).sql | 21 + ...erable_WithDataParams(SqlServer.SA.MS).sql | 27 + ...able_WithObjectParams(SqlServer.SA.MS).sql | 27 + ...Enumerable_WithReader(SqlServer.SA.MS).sql | 15 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 27 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...mplate_And_DataParams(SqlServer.SA.MS).sql | 27 + ...late_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...ests.QueryToListAsync(SqlServer.SA.MS).sql | 15 + ...tAsync_WithDataParams(SqlServer.SA.MS).sql | 54 + ...sync_WithDataParmeter(SqlServer.SA.MS).sql | 21 + ...sync_WithObjectParams(SqlServer.SA.MS).sql | 27 + ...oListAsync_WithReader(SqlServer.SA.MS).sql | 15 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 54 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ...mplate_And_DataParams(SqlServer.SA.MS).sql | 54 + ...late_And_ObjectParams(SqlServer.SA.MS).sql | 27 + ....Query_And_DataParams(SqlServer.SA.MS).sql | 81 + ...uery_And_ObjectParams(SqlServer.SA.MS).sql | 54 + ...y_And_SingleDataParam(SqlServer.SA.MS).sql | 42 + ...ests.Query_WithReader(SqlServer.SA.MS).sql | 30 + ...Reader_And_DataParams(SqlServer.SA.MS).sql | 81 + ...ader_And_ObjectParams(SqlServer.SA.MS).sql | 54 + ...mplate_And_DataParams(SqlServer.SA.MS).sql | 81 + ...late_And_ObjectParams(SqlServer.SA.MS).sql | 54 + ...ests.RetrieveIdentity(SqlServer.SA.MS).sql | 54 + ...cEnumerable(SqlServer.SA,MultipleRows).sql | 540 +++++ ...merable(SqlServer.SA,ProviderSpecific).sql | 378 ++++ ...AsyncEnumerable(SqlServer.SA,RowByRow).sql | 972 +++++++++ ..._Enumerable(SqlServer.SA,MultipleRows).sql | 1080 +++++++++ ...merable(SqlServer.SA,ProviderSpecific).sql | 756 +++++++ ...Copy_Enumerable(SqlServer.SA,RowByRow).sql | 1944 +++++++++++++++++ ..._NonQuery_WithDataParams(SqlServer.SA).sql | 81 + ...onQuery_WithObjectParams(SqlServer.SA).sql | 54 + ...oc_Scalar_WithDataParams(SqlServer.SA).sql | 81 + ..._Scalar_WithObjectParams(SqlServer.SA).sql | 54 + ...sionsTests.ExecuteReader(SqlServer.SA).sql | 30 + ...aderProc_With_DataParams(SqlServer.SA).sql | 81 + ...erProc_With_ObjectParams(SqlServer.SA).sql | 54 + ...teReader_With_DataParams(SqlServer.SA).sql | 81 + ...h_DataParams_AndBehavior(SqlServer.SA).sql | 81 + ...Reader_With_ObjectParams(SqlServer.SA).sql | 54 + ...der_With_SingleDataParam(SqlServer.SA).sql | 42 + ...nsTests.Execute_NonQuery(SqlServer.SA).sql | 30 + ..._NonQuery_WithDataParams(SqlServer.SA).sql | 81 + ...onQuery_WithObjectParams(SqlServer.SA).sql | 66 + ...ionsTests.Execute_Scalar(SqlServer.SA).sql | 30 + ...Scalar_WithDataParameter(SqlServer.SA).sql | 42 + ...te_Scalar_WithDataParams(SqlServer.SA).sql | 81 + ..._Scalar_WithObjectParams(SqlServer.SA).sql | 54 + ...extExtensionsTests.Query(SqlServer.SA).sql | 30 + ...EachAsync_WithDataParams(SqlServer.SA).sql | 54 + ...chAsync_WithObjectParams(SqlServer.SA).sql | 27 + ...ithReader_And_DataParams(SqlServer.SA).sql | 54 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 27 + ...Multiple_With_DataParams(SqlServer.SA).sql | 99 + ...Multiple_With_DataParams(SqlServer.SA).sql | 117 + ...ltiple_With_ObjectParams(SqlServer.SA).sql | 78 + ...ithReader_And_DataParams(SqlServer.SA).sql | 99 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 66 + ...hTemplate_And_DataParams(SqlServer.SA).sql | 99 + ...emplate_And_ObjectParams(SqlServer.SA).sql | 66 + ...ueryProc_With_DataParams(SqlServer.SA).sql | 99 + ...ryProc_With_ObjectParams(SqlServer.SA).sql | 66 + ...sTests.QueryToArrayAsync(SqlServer.SA).sql | 15 + ...yAsync_WithDataParameter(SqlServer.SA).sql | 21 + ...rrayAsync_WithDataParams(SqlServer.SA).sql | 54 + ...ayAsync_WithObjectParams(SqlServer.SA).sql | 27 + ...yToArrayAsync_WithReader(SqlServer.SA).sql | 15 + ...ithReader_And_DataParams(SqlServer.SA).sql | 54 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 27 + ...hTemplate_And_DataParams(SqlServer.SA).sql | 54 + ...emplate_And_ObjectParams(SqlServer.SA).sql | 27 + ...s.QueryToAsyncEnumerable(SqlServer.SA).sql | 15 + ...erable_WithDataParameter(SqlServer.SA).sql | 21 + ...numerable_WithDataParams(SqlServer.SA).sql | 27 + ...merable_WithObjectParams(SqlServer.SA).sql | 27 + ...yncEnumerable_WithReader(SqlServer.SA).sql | 15 + ...ithReader_And_DataParams(SqlServer.SA).sql | 27 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 27 + ...hTemplate_And_DataParams(SqlServer.SA).sql | 27 + ...emplate_And_ObjectParams(SqlServer.SA).sql | 27 + ...nsTests.QueryToListAsync(SqlServer.SA).sql | 15 + ...ListAsync_WithDataParams(SqlServer.SA).sql | 54 + ...stAsync_WithDataParmeter(SqlServer.SA).sql | 21 + ...stAsync_WithObjectParams(SqlServer.SA).sql | 27 + ...ryToListAsync_WithReader(SqlServer.SA).sql | 15 + ...ithReader_And_DataParams(SqlServer.SA).sql | 54 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 27 + ...hTemplate_And_DataParams(SqlServer.SA).sql | 54 + ...emplate_And_ObjectParams(SqlServer.SA).sql | 27 + ...sts.Query_And_DataParams(SqlServer.SA).sql | 81 + ...s.Query_And_ObjectParams(SqlServer.SA).sql | 54 + ...uery_And_SingleDataParam(SqlServer.SA).sql | 42 + ...nsTests.Query_WithReader(SqlServer.SA).sql | 30 + ...ithReader_And_DataParams(SqlServer.SA).sql | 81 + ...hReader_And_ObjectParams(SqlServer.SA).sql | 54 + ...hTemplate_And_DataParams(SqlServer.SA).sql | 81 + ...emplate_And_ObjectParams(SqlServer.SA).sql | 54 + ...nsTests.RetrieveIdentity(SqlServer.SA).sql | 54 + 296 files changed, 36240 insertions(+) create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,MultipleRows).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,ProviderSpecific).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,RowByRow).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,MultipleRows).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,ProviderSpecific).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,RowByRow).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained.MS).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,MultipleRows).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,ProviderSpecific).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,RowByRow).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,MultipleRows).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,ProviderSpecific).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,RowByRow).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained).sql create mode 100644 SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,MultipleRows).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,ProviderSpecific).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,RowByRow).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,MultipleRows).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,ProviderSpecific).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,RowByRow).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA.MS).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,MultipleRows).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,ProviderSpecific).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,RowByRow).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,MultipleRows).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,ProviderSpecific).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,RowByRow).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA).sql create mode 100644 SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA).sql diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,MultipleRows).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,MultipleRows).sql new file mode 100644 index 000000000000..e6f8eb297b40 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,ProviderSpecific).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..a656d88bcf5d --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,RowByRow).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,RowByRow).sql new file mode 100644 index 000000000000..f936cdf374dd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,MultipleRows).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,MultipleRows).sql new file mode 100644 index 000000000000..45201ecffc4c --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,ProviderSpecific).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..dc78ed9e6e29 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,RowByRow).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,RowByRow).sql new file mode 100644 index 000000000000..79fa144e9674 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..36de28d33931 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..6f0c5ad5a5f4 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..c569047f3bc9 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..eb3f8f773fb9 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7183d82b0392 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..c84a52527cf9 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..eb3f8f773fb9 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..6d44504f2919 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..6d44504f2919 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..3130a0aea276 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f312205d1e16 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..9170e5837b73 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..2767f63444b2 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..72257c784105 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..667a9b067d31 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7c58b704e04c --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..4f4f5c03d19f --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..34217201c407 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7183d82b0392 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7d297d87a8e5 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..a26ddf55f3a3 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..50b7b711e9aa --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..ed443f78d82d --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..2beff796be13 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..ed443f78d82d --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..2beff796be13 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..ed443f78d82d --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..2beff796be13 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..72beb04c9544 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..9a828ab759ee --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f71252ad0fe6 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7581567ed1fd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f71252ad0fe6 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f71252ad0fe6 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..dd1e15853779 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..1b4f1dd01dfd --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7ac3490a7192 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..b144eb4f8f14 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..9a828ab759ee --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f71252ad0fe6 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f3df6a17db60 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..3ebfaf5d2a8f --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..01f4728602ab --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..7183d82b0392 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..f3df6a17db60 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..3ebfaf5d2a8f --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..a160c9a85b55 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..3da28ab10226 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained.MS).sql b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained.MS).sql new file mode 100644 index 000000000000..df2a08425467 --- /dev/null +++ b/SqlServer.Contained.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,MultipleRows).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,MultipleRows).sql new file mode 100644 index 000000000000..d5909c772930 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,ProviderSpecific).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,ProviderSpecific).sql new file mode 100644 index 000000000000..a1fc3f21e7c1 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,RowByRow).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,RowByRow).sql new file mode 100644 index 000000000000..2d40e79efc5a --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.Contained,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,MultipleRows).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,MultipleRows).sql new file mode 100644 index 000000000000..b456d23088f8 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,ProviderSpecific).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,ProviderSpecific).sql new file mode 100644 index 000000000000..6d3d49cbbb72 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,RowByRow).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,RowByRow).sql new file mode 100644 index 000000000000..587ce6e94d4c --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.Contained,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..e22a4307674b --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..c7eda2dad389 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..8ae822b6805a --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..27e860ef6ed1 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained).sql new file mode 100644 index 000000000000..1adbf572d474 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.Contained).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..afb3eca875a6 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..27e860ef6ed1 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..944f47d009d2 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained).sql new file mode 100644 index 000000000000..944f47d009d2 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..aad5a241658c --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained).sql new file mode 100644 index 000000000000..1de4cd706748 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.Contained).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained).sql new file mode 100644 index 000000000000..8793d66fd5bd --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.Contained).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..36c4ed0e1d23 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..15b06136f8a8 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained).sql new file mode 100644 index 000000000000..cb4d8bb3ef75 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.Contained).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained).sql new file mode 100644 index 000000000000..b1cda740c1df --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.Contained).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..3f2bd55078a1 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..5ca6c9e9f327 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained).sql new file mode 100644 index 000000000000..1adbf572d474 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.Contained).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..15177d7d669c --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.Contained).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..8a01ce2330e4 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.Contained).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..fb8f4e4ebeb3 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..8c92e8a208af --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..b2fb1e3d7f47 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..8c92e8a208af --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..b2fb1e3d7f47 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..8c92e8a208af --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.Contained).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..b2fb1e3d7f47 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained).sql new file mode 100644 index 000000000000..f1f99b2f5e3a --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.Contained).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..9a4033bdd554 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..274d78ae7cc9 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained).sql new file mode 100644 index 000000000000..f2aac5bb60ba --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.Contained).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..274d78ae7cc9 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..274d78ae7cc9 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained).sql new file mode 100644 index 000000000000..f6c01c2409fa --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.Contained).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained).sql new file mode 100644 index 000000000000..88d2e3ca0c8e --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.Contained).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..1baa7ed65021 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f68515c831b7 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..9a4033bdd554 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..274d78ae7cc9 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..0a722e648a04 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f726b4236125 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained).sql new file mode 100644 index 000000000000..4b6525053637 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.Contained).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained).sql new file mode 100644 index 000000000000..1adbf572d474 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.Contained).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..0a722e648a04 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f726b4236125 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..f74ad6a4248d --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.Contained).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained).sql new file mode 100644 index 000000000000..30a2498f6608 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained).sql b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained).sql new file mode 100644 index 000000000000..4b96dd026531 --- /dev/null +++ b/SqlServer.Contained/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.Contained).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.Contained SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,MultipleRows).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,MultipleRows).sql new file mode 100644 index 000000000000..e6f4c01133ab --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,ProviderSpecific).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..5b8cba551030 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,RowByRow).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,RowByRow).sql new file mode 100644 index 000000000000..44d26e6b7d95 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA.MS,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,MultipleRows).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,MultipleRows).sql new file mode 100644 index 000000000000..ad256fa68dc0 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,ProviderSpecific).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,ProviderSpecific).sql new file mode 100644 index 000000000000..90b4b9c387c0 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,RowByRow).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,RowByRow).sql new file mode 100644 index 000000000000..476ac153eaae --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA.MS,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..65b2603e4818 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..0caaaf0997f0 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..97dbfca28bc9 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..24b98085a90e --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ffb8b978149e --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..616ea806ed33 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..24b98085a90e --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..df563f5e219d --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..df563f5e219d --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..d4ba301c6dee --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..bf0102216fa5 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..7649e5a10500 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..a231de31e554 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..834497fe654a --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..9299480b0a67 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ef909381bec2 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..a1dd1bd8cb40 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..c67e4fd1ace1 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ffb8b978149e --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ff792b92d24f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..dd1f0b3269a5 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..9be3aef6df18 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..9709dd5bba2d --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..c398fa68c971 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..9709dd5bba2d --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..c398fa68c971 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..9709dd5bba2d --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..c398fa68c971 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..7f010174e32f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..379bac56a615 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..dcd3c58d8a0f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..d4dd05ee02cf --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..dcd3c58d8a0f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..dcd3c58d8a0f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..6ccbc002a57f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA.MS).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b99bc7b3f935 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA.MS).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..b62faa880ae3 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c109ae03d11 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..379bac56a615 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..dcd3c58d8a0f --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c88f27e60b2 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..1f50a444be31 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ea972a02fee2 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA.MS).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..ffb8b978149e --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA.MS).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..4c88f27e60b2 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..1f50a444be31 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..7dfa273123e9 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA.MS).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..40cf43101877 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA.MS).sql b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA.MS).sql new file mode 100644 index 000000000000..6e1f73f53163 --- /dev/null +++ b/SqlServer.SA.MS/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA.MS).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA.MS SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,MultipleRows).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,MultipleRows).sql new file mode 100644 index 000000000000..8750e5486462 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,ProviderSpecific).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,ProviderSpecific).sql new file mode 100644 index 000000000000..4d5951168237 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,RowByRow).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,RowByRow).sql new file mode 100644 index 000000000000..069faebd122f --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SqlServer.SA,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,MultipleRows).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,MultipleRows).sql new file mode 100644 index 000000000000..e655c8b37538 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,ProviderSpecific).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,ProviderSpecific).sql new file mode 100644 index 000000000000..95f95c8db8e6 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +INSERT ASYNC BULK [BulkCopyTable](Id, Value) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,RowByRow).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,RowByRow).sql new file mode 100644 index 000000000000..c14672f820bd --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SqlServer.SA,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +DELETE [t1] +FROM + [BulkCopyTable] [t1] + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..2c180980fe5a --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..33e30f35407e --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_NonQuery_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcIntParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..8f777fed3795 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 2 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c52573bfe9dc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteProc_Scalar_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA).sql new file mode 100644 index 000000000000..7a0db75042d8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader(SqlServer.SA).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c307ae7c8ee2 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_DataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c52573bfe9dc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReaderProc_With_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output Int -- Int32 +SET @output = 0 + +ExecuteProcStringParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..88f13b273eb8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA).sql new file mode 100644 index 000000000000..88f13b273eb8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_DataParams_AndBehavior(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 +DECLARE @p2 Int -- Int32 +SET @p2 = 1 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..a8bccf83227f --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 UNION ALL SELECT @p2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA).sql new file mode 100644 index 000000000000..8bc160d7aa28 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.ExecuteReader_With_SingleDataParam(SqlServer.SA).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA).sql new file mode 100644 index 000000000000..f8cd11a7dfeb --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery(SqlServer.SA).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..f5c6b35cf1d1 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c67cb362ef46 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_NonQuery_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @output Int -- Int32 +SET @output = 0 + +UPDATE Person SET MiddleName = NULL WHERE MiddleName IS NULL AND PersonID NOT IN(@p1, @p2) + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA).sql new file mode 100644 index 000000000000..19f07b05d68e --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar(SqlServer.SA).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 5 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 5 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 5 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA).sql new file mode 100644 index 000000000000..cd37bc58b44a --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParameter(SqlServer.SA).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 2 + +SELECT @p1 + 3 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..0861b2a0895f --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..3baea8fc50e2 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Execute_Scalar_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p1 + @p2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA).sql new file mode 100644 index 000000000000..7a0db75042d8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query(SqlServer.SA).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryForEachAsync_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..8a0c619d67ee --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryMultiple_With_DataParams(SqlServer.SA).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 +DECLARE @p3 Int -- Int32 +SET @p3 = 3 + +SELECT * FROM Person WHERE PersonID <> @p1; SELECT * FROM Person WHERE PersonID <> @p2; SELECT * FROM Person WHERE PersonID <> @p3 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..0635d36177f8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_DataParams(SqlServer.SA).sql @@ -0,0 +1,117 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..4771362c66f6 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProcMultiple_With_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,78 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 2 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 +DECLARE @output3 Int -- Int32 +SET @output3 = 0 + +QueryProcMultipleParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..a5851494be59 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..8784547f60ae --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..a5851494be59 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..8784547f60ae --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_WithTemplate_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..a5851494be59 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_DataParams(SqlServer.SA).sql @@ -0,0 +1,99 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = NULL +DECLARE @output2 Int -- Int32 +SET @output2 = NULL + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 2 +DECLARE @output2 Int -- Int32 +SET @output2 = 3 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..8784547f60ae --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryProc_With_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,66 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @input Int -- Int32 +SET @input = 1 +DECLARE @output1 Int -- Int32 +SET @output1 = 0 +DECLARE @output2 Int -- Int32 +SET @output2 = 0 + +QueryProcParameters + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA).sql new file mode 100644 index 000000000000..9a3a8180171d --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParameter(SqlServer.SA).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + 3 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..9e2312590b10 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..47691a1f4ce7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToArrayAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA).sql new file mode 100644 index 000000000000..81ab665ee59f --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParameter(SqlServer.SA).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 + 1 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..47691a1f4ce7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..47691a1f4ce7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToAsyncEnumerable_WithTemplate_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA).sql new file mode 100644 index 000000000000..c0f4f285c55d --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithDataParmeter(SqlServer.SA).sql @@ -0,0 +1,21 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA).sql new file mode 100644 index 000000000000..5a98f63c4543 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader(SqlServer.SA).sql @@ -0,0 +1,15 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..c80729cdfafc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..967d4db179cc --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..9e2312590b10 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..47691a1f4ce7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.QueryToListAsync_WithTemplate_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,27 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS Id UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..fd992657e8b7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..1e0fa4381116 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA).sql new file mode 100644 index 000000000000..4f73d43a12f4 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_And_SingleDataParam(SqlServer.SA).sql @@ -0,0 +1,42 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 + +SELECT @p1 UNION ALL SELECT @p1 + 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA).sql new file mode 100644 index 000000000000..7a0db75042d8 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader(SqlServer.SA).sql @@ -0,0 +1,30 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) + +SELECT 1 UNION ALL SELECT 2 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..fd992657e8b7 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..1e0fa4381116 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithReader_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA).sql new file mode 100644 index 000000000000..734d176660c2 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_DataParams(SqlServer.SA).sql @@ -0,0 +1,81 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 as ID UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA).sql new file mode 100644 index 000000000000..90502d372637 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.Query_WithTemplate_And_ObjectParams(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @p1 Int -- Int32 +SET @p1 = 1 +DECLARE @p2 Int -- Int32 +SET @p2 = 2 + +SELECT @p2 AS ID UNION ALL SELECT @p1 + diff --git a/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA).sql b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA).sql new file mode 100644 index 000000000000..1ff87dbcea41 --- /dev/null +++ b/SqlServer.SA/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.RetrieveIdentity(SqlServer.SA).sql @@ -0,0 +1,54 @@ +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + +BeforeExecute +-- SqlServer.SA SqlServer.2019 (asynchronously) +DECLARE @tableName NVarChar(4000) -- String +SET @tableName = N'[RetrieveIdentityTable]' + +SELECT + IDENT_CURRENT(@tableName), + IDENT_INCR(@tableName) + From 2b4fa5ec4dbaeaf6263fea7bf220211022cb6c72 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:40:58 +0000 Subject: [PATCH 29/41] [Linux / PostgreSQL 14] baselines --- ...Enumerable(PostgreSQL.14,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.14,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.14,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.14,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.14,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.14,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,MultipleRows).sql create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,ProviderSpecific).sql create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,RowByRow).sql create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,MultipleRows).sql create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,ProviderSpecific).sql create mode 100644 PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,RowByRow).sql diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,MultipleRows).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,MultipleRows).sql new file mode 100644 index 000000000000..610193bd9d20 --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,ProviderSpecific).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,ProviderSpecific).sql new file mode 100644 index 000000000000..e5c849ec7458 --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,RowByRow).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,RowByRow).sql new file mode 100644 index 000000000000..7af550164abd --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.14,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,MultipleRows).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,MultipleRows).sql new file mode 100644 index 000000000000..ff14f61a0913 --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,ProviderSpecific).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,ProviderSpecific).sql new file mode 100644 index 000000000000..ad10a38c4f5b --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,RowByRow).sql b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,RowByRow).sql new file mode 100644 index 000000000000..8b992721fae3 --- /dev/null +++ b/PostgreSQL.14/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.14,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.14 PostgreSQL.9.5 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From f20ed907e6d4c54babda02f9949d515c429cba9f Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:42:23 +0000 Subject: [PATCH 30/41] [Linux / PostgreSQL 17] baselines --- ...Enumerable(PostgreSQL.17,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.17,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.17,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.17,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.17,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.17,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,MultipleRows).sql create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,ProviderSpecific).sql create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,RowByRow).sql create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,MultipleRows).sql create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,ProviderSpecific).sql create mode 100644 PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,RowByRow).sql diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,MultipleRows).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,MultipleRows).sql new file mode 100644 index 000000000000..7e2b7fa9dc06 --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,ProviderSpecific).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,ProviderSpecific).sql new file mode 100644 index 000000000000..23ba27fd95d9 --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,RowByRow).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,RowByRow).sql new file mode 100644 index 000000000000..1891c37101b5 --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.17,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,MultipleRows).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,MultipleRows).sql new file mode 100644 index 000000000000..f0f0dcfa55ad --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,ProviderSpecific).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,ProviderSpecific).sql new file mode 100644 index 000000000000..551f6055f24f --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,RowByRow).sql b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,RowByRow).sql new file mode 100644 index 000000000000..e7920b5a853d --- /dev/null +++ b/PostgreSQL.17/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.17,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.17 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From b896bf1289853ba310ec93876f473cdbbb22cde3 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:42:33 +0000 Subject: [PATCH 31/41] [Linux / PostgreSQL 16] baselines --- ...Enumerable(PostgreSQL.16,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.16,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.16,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.16,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.16,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.16,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,MultipleRows).sql create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,ProviderSpecific).sql create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,RowByRow).sql create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,MultipleRows).sql create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,ProviderSpecific).sql create mode 100644 PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,RowByRow).sql diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,MultipleRows).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,MultipleRows).sql new file mode 100644 index 000000000000..30ccef26d6f7 --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,ProviderSpecific).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,ProviderSpecific).sql new file mode 100644 index 000000000000..61adf7de3825 --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,RowByRow).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,RowByRow).sql new file mode 100644 index 000000000000..d75ea832f146 --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.16,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,MultipleRows).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,MultipleRows).sql new file mode 100644 index 000000000000..47a6c409447f --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,ProviderSpecific).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,ProviderSpecific).sql new file mode 100644 index 000000000000..9f42a141667f --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,RowByRow).sql b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,RowByRow).sql new file mode 100644 index 000000000000..b5871007301c --- /dev/null +++ b/PostgreSQL.16/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.16,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.16 PostgreSQL.15 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From ec62af914823ffddb78edb96c08dbddcc74fff5e Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:42:53 +0200 Subject: [PATCH 32/41] [Linux / Oracle 19c] baselines --- ...erable(Oracle.19.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.19.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.19.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.19.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.19.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.19.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.19.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.19.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.19.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.19.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.19.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.19.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,MultipleRows).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,ProviderSpecific).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,RowByRow).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertAll).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertDual).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertInto).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,MultipleRows).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,ProviderSpecific).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,RowByRow).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertAll).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertDual).sql create mode 100644 Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertInto).sql diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,MultipleRows).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,MultipleRows).sql new file mode 100644 index 000000000000..99081f337ef0 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,ProviderSpecific).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..4e966ec667aa --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,RowByRow).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,RowByRow).sql new file mode 100644 index 000000000000..bfc19283286c --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.19.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertAll).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertAll).sql new file mode 100644 index 000000000000..99081f337ef0 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertDual).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertDual).sql new file mode 100644 index 000000000000..a0d0355548d0 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertInto).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertInto).sql new file mode 100644 index 000000000000..0e1a88dd3d17 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.19.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,MultipleRows).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,MultipleRows).sql new file mode 100644 index 000000000000..7dc8f551e0ac --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,ProviderSpecific).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..c9bf53c72c67 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,RowByRow).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,RowByRow).sql new file mode 100644 index 000000000000..8983b5daa378 --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.19.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertAll).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertAll).sql new file mode 100644 index 000000000000..7dc8f551e0ac --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertDual).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertDual).sql new file mode 100644 index 000000000000..7dc8f551e0ac --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertInto).sql b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertInto).sql new file mode 100644 index 000000000000..7dc8f551e0ac --- /dev/null +++ b/Oracle.19.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.19.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.19.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + From 61830dc8c3f638b670d1d158d86cbecbc1e52efc Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:43:09 +0000 Subject: [PATCH 33/41] [Linux / PostgreSQL 18] baselines --- ...Enumerable(PostgreSQL.18,MultipleRows).sql | 522 +++++ ...erable(PostgreSQL.18,ProviderSpecific).sql | 360 ++++ ...syncEnumerable(PostgreSQL.18,RowByRow).sql | 954 +++++++++ ...Enumerable(PostgreSQL.18,MultipleRows).sql | 1044 +++++++++ ...erable(PostgreSQL.18,ProviderSpecific).sql | 720 +++++++ ...opy_Enumerable(PostgreSQL.18,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,MultipleRows).sql create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,ProviderSpecific).sql create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,RowByRow).sql create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,MultipleRows).sql create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,ProviderSpecific).sql create mode 100644 PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,RowByRow).sql diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,MultipleRows).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,MultipleRows).sql new file mode 100644 index 000000000000..3a8cd8b22ce3 --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,ProviderSpecific).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,ProviderSpecific).sql new file mode 100644 index 000000000000..40435d5ba321 --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,RowByRow).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,RowByRow).sql new file mode 100644 index 000000000000..ff3dc12653bf --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(PostgreSQL.18,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,MultipleRows).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,MultipleRows).sql new file mode 100644 index 000000000000..62e87c67ab0a --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,ProviderSpecific).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,ProviderSpecific).sql new file mode 100644 index 000000000000..4cf4507ba170 --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +INSERT ASYNC BULK "BulkCopyTable"(Id, Value) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,RowByRow).sql b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,RowByRow).sql new file mode 100644 index 000000000000..03055fce5b3e --- /dev/null +++ b/PostgreSQL.18/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(PostgreSQL.18,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- PostgreSQL.18 PostgreSQL + +DELETE FROM + "BulkCopyTable" t1 + From f05fec7e2a6d4d2db3e1e8f91c47e8a127f800d6 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:49:54 +0200 Subject: [PATCH 34/41] [Linux / Oracle 23c] baselines --- ...erable(Oracle.23.Managed,MultipleRows).sql | 450 ++++ ...le(Oracle.23.Managed,ProviderSpecific).sql | 450 ++++ ...Enumerable(Oracle.23.Managed,RowByRow).sql | 954 +++++++++ ...acleModes(Oracle.23.Managed,InsertAll).sql | 450 ++++ ...cleModes(Oracle.23.Managed,InsertDual).sql | 522 +++++ ...cleModes(Oracle.23.Managed,InsertInto).sql | 468 ++++ ...erable(Oracle.23.Managed,MultipleRows).sql | 900 ++++++++ ...le(Oracle.23.Managed,ProviderSpecific).sql | 900 ++++++++ ...Enumerable(Oracle.23.Managed,RowByRow).sql | 1908 +++++++++++++++++ ...acleModes(Oracle.23.Managed,InsertAll).sql | 900 ++++++++ ...cleModes(Oracle.23.Managed,InsertDual).sql | 900 ++++++++ ...cleModes(Oracle.23.Managed,InsertInto).sql | 900 ++++++++ 12 files changed, 9702 insertions(+) create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,MultipleRows).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,ProviderSpecific).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,RowByRow).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertAll).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertDual).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertInto).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,MultipleRows).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,ProviderSpecific).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,RowByRow).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertAll).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertDual).sql create mode 100644 Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertInto).sql diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,MultipleRows).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,MultipleRows).sql new file mode 100644 index 000000000000..ea9711f01651 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,MultipleRows).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,ProviderSpecific).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..e0c0ab4cc203 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,ProviderSpecific).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,RowByRow).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,RowByRow).sql new file mode 100644 index 000000000000..caae802fdb41 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Oracle.23.Managed,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertAll).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertAll).sql new file mode 100644 index 000000000000..ea9711f01651 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertAll).sql @@ -0,0 +1,450 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertDual).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertDual).sql new file mode 100644 index 000000000000..62507851e30c --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertDual).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) + + SELECT 1,10 FROM DUAL UNION ALL + SELECT 2,20 FROM DUAL + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertInto).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertInto).sql new file mode 100644 index 000000000000..34973a7dd714 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable_OracleModes(Oracle.23.Managed,InsertInto).sql @@ -0,0 +1,468 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @:p1 Int32 +SET @:p1 = {1,2} +DECLARE @:p2 Int32 +SET @:p2 = {10,20} + +INSERT INTO "BulkCopyTable" ("Id", "Value") VALUES (:p1, :p2) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,MultipleRows).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,MultipleRows).sql new file mode 100644 index 000000000000..150ca8ac16d0 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,MultipleRows).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,ProviderSpecific).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..9484b78f0bdb --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,ProviderSpecific).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,RowByRow).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,RowByRow).sql new file mode 100644 index 000000000000..8edfa8f05109 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Oracle.23.Managed,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 1 +DECLARE @Value Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) +DECLARE @Id Int32 +SET @Id = 2 +DECLARE @Value Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + :Id, + :Value +) + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertAll).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertAll).sql new file mode 100644 index 000000000000..150ca8ac16d0 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertAll).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertDual).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertDual).sql new file mode 100644 index 000000000000..150ca8ac16d0 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertDual).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + diff --git a/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertInto).sql b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertInto).sql new file mode 100644 index 000000000000..150ca8ac16d0 --- /dev/null +++ b/Oracle.23.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable_OracleModes(Oracle.23.Managed,InsertInto).sql @@ -0,0 +1,900 @@ +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 (asynchronously) + +INSERT ALL + INTO "BulkCopyTable" ("Id", "Value") VALUES (1,10) + INTO "BulkCopyTable" ("Id", "Value") VALUES (2,20) +SELECT * FROM dual + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +SELECT + t1."Id", + t1."Value" +FROM + "BulkCopyTable" t1 +ORDER BY + t1."Id" + +BeforeExecute +-- Oracle.23.Managed Oracle.Managed Oracle12 + +DELETE FROM + "BulkCopyTable" t1 + From ed0f71bd554af00e4cc41af57bfe3785b44eafd5 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 20:57:46 +0000 Subject: [PATCH 35/41] [Linux / Sybase ASE 16] baselines --- ...numerable(Sybase.Managed,MultipleRows).sql | 522 +++++ ...rable(Sybase.Managed,ProviderSpecific).sql | 522 +++++ ...yncEnumerable(Sybase.Managed,RowByRow).sql | 972 +++++++++ ...numerable(Sybase.Managed,MultipleRows).sql | 1044 +++++++++ ...rable(Sybase.Managed,ProviderSpecific).sql | 1044 +++++++++ ...py_Enumerable(Sybase.Managed,RowByRow).sql | 1944 +++++++++++++++++ 6 files changed, 6048 insertions(+) create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,MultipleRows).sql create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,ProviderSpecific).sql create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,RowByRow).sql create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,MultipleRows).sql create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,ProviderSpecific).sql create mode 100644 Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,RowByRow).sql diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,MultipleRows).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,MultipleRows).sql new file mode 100644 index 000000000000..a8ff3390d0f7 --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,ProviderSpecific).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..a8ff3390d0f7 --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,ProviderSpecific).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,RowByRow).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,RowByRow).sql new file mode 100644 index 000000000000..b8681b141c8a --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Sybase.Managed,RowByRow).sql @@ -0,0 +1,972 @@ +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,MultipleRows).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,MultipleRows).sql new file mode 100644 index 000000000000..61cd3d62ed1f --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,ProviderSpecific).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,ProviderSpecific).sql new file mode 100644 index 000000000000..61cd3d62ed1f --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,ProviderSpecific).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +SELECT 1,10 UNION ALL +SELECT 2,20 + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + diff --git a/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,RowByRow).sql b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,RowByRow).sql new file mode 100644 index 000000000000..4e04e07d6973 --- /dev/null +++ b/Sybase.Managed/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Sybase.Managed,RowByRow).sql @@ -0,0 +1,1944 @@ +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Sybase.Managed Sybase + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Sybase.Managed Sybase + +DELETE FROM [BulkCopyTable] +FROM + [BulkCopyTable] [t1] + From a06a6de47c0b3d67fc1466f495d490760845f9f4 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 21:04:28 +0000 Subject: [PATCH 36/41] [Linux / SAP HANA 2] baselines --- ...cEnumerable(SapHana.Odbc,MultipleRows).sql | 954 +++++++++ ...merable(SapHana.Odbc,ProviderSpecific).sql | 954 +++++++++ ...AsyncEnumerable(SapHana.Odbc,RowByRow).sql | 954 +++++++++ ..._Enumerable(SapHana.Odbc,MultipleRows).sql | 1908 +++++++++++++++++ ...merable(SapHana.Odbc,ProviderSpecific).sql | 1908 +++++++++++++++++ ...Copy_Enumerable(SapHana.Odbc,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 8586 insertions(+) create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,MultipleRows).sql create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,ProviderSpecific).sql create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,RowByRow).sql create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,MultipleRows).sql create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,ProviderSpecific).sql create mode 100644 SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,RowByRow).sql diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,MultipleRows).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..a64d74c97980 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,ProviderSpecific).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..a64d74c97980 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,ProviderSpecific).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,RowByRow).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,RowByRow).sql new file mode 100644 index 000000000000..a64d74c97980 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(SapHana.Odbc,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,MultipleRows).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..150481e9bf89 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,ProviderSpecific).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..150481e9bf89 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,ProviderSpecific).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,RowByRow).sql b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,RowByRow).sql new file mode 100644 index 000000000000..150481e9bf89 --- /dev/null +++ b/SapHana.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(SapHana.Odbc,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- SapHana.Odbc SapHanaOdbc + +DELETE FROM + "BulkCopyTable" "t1" + From c6c7695567e674a856580be849cf8b3c4b6acfa6 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:38:15 +0000 Subject: [PATCH 37/41] [Windows / Access MDB (Jet/ODBC)] baselines --- ...umerable(Access.Jet.Odbc,MultipleRows).sql | 954 +++++++++ ...able(Access.Jet.Odbc,ProviderSpecific).sql | 954 +++++++++ ...ncEnumerable(Access.Jet.Odbc,RowByRow).sql | 954 +++++++++ ...umerable(Access.Jet.Odbc,MultipleRows).sql | 1908 +++++++++++++++++ ...able(Access.Jet.Odbc,ProviderSpecific).sql | 1908 +++++++++++++++++ ...y_Enumerable(Access.Jet.Odbc,RowByRow).sql | 1908 +++++++++++++++++ ...merable(Access.Jet.OleDb,MultipleRows).sql | 954 +++++++++ ...ble(Access.Jet.OleDb,ProviderSpecific).sql | 954 +++++++++ ...cEnumerable(Access.Jet.OleDb,RowByRow).sql | 954 +++++++++ ...merable(Access.Jet.OleDb,MultipleRows).sql | 1908 +++++++++++++++++ ...ble(Access.Jet.OleDb,ProviderSpecific).sql | 1908 +++++++++++++++++ ..._Enumerable(Access.Jet.OleDb,RowByRow).sql | 1908 +++++++++++++++++ 12 files changed, 17172 insertions(+) create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,MultipleRows).sql create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,ProviderSpecific).sql create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,RowByRow).sql create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,MultipleRows).sql create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,ProviderSpecific).sql create mode 100644 Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,RowByRow).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,MultipleRows).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,ProviderSpecific).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,RowByRow).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,MultipleRows).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,ProviderSpecific).sql create mode 100644 Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,RowByRow).sql diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,MultipleRows).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..d217ea9e0ce8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,ProviderSpecific).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..d217ea9e0ce8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,ProviderSpecific).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,RowByRow).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,RowByRow).sql new file mode 100644 index 000000000000..d217ea9e0ce8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.Odbc,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,MultipleRows).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..7a31ccc95bb8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,ProviderSpecific).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..7a31ccc95bb8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,ProviderSpecific).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,RowByRow).sql b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,RowByRow).sql new file mode 100644 index 000000000000..7a31ccc95bb8 --- /dev/null +++ b/Access.Jet.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.Odbc,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,MultipleRows).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,MultipleRows).sql new file mode 100644 index 000000000000..d6f18c124ddb --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,ProviderSpecific).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,ProviderSpecific).sql new file mode 100644 index 000000000000..d6f18c124ddb --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,ProviderSpecific).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,RowByRow).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,RowByRow).sql new file mode 100644 index 000000000000..d6f18c124ddb --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Jet.OleDb,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,MultipleRows).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,MultipleRows).sql new file mode 100644 index 000000000000..781d114be0e6 --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,ProviderSpecific).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,ProviderSpecific).sql new file mode 100644 index 000000000000..781d114be0e6 --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,ProviderSpecific).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,RowByRow).sql b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,RowByRow).sql new file mode 100644 index 000000000000..781d114be0e6 --- /dev/null +++ b/Access.Jet.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Jet.OleDb,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Jet.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + From a388db8bda13eb060804e781b61ea185e8ed29d5 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:40:48 +0000 Subject: [PATCH 38/41] [Linux / DB2 LUW 11.5] baselines --- ...Copy_AsyncEnumerable(DB2,MultipleRows).sql | 522 +++++ ..._AsyncEnumerable(DB2,ProviderSpecific).sql | 360 ++++ ...BulkCopy_AsyncEnumerable(DB2,RowByRow).sql | 954 +++++++++ ....BulkCopy_Enumerable(DB2,MultipleRows).sql | 1044 +++++++++ ...kCopy_Enumerable(DB2,ProviderSpecific).sql | 720 +++++++ ...ests.BulkCopy_Enumerable(DB2,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 5508 insertions(+) create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,MultipleRows).sql create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,ProviderSpecific).sql create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,RowByRow).sql create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,MultipleRows).sql create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,ProviderSpecific).sql create mode 100644 DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,RowByRow).sql diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,MultipleRows).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,MultipleRows).sql new file mode 100644 index 000000000000..5b2c64ca0800 --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,MultipleRows).sql @@ -0,0 +1,522 @@ +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,ProviderSpecific).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,ProviderSpecific).sql new file mode 100644 index 000000000000..e87458d175b5 --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,RowByRow).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,RowByRow).sql new file mode 100644 index 000000000000..4115b3001f53 --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(DB2,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,MultipleRows).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,MultipleRows).sql new file mode 100644 index 000000000000..2ed71fdaca61 --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,MultipleRows).sql @@ -0,0 +1,1044 @@ +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,ProviderSpecific).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,ProviderSpecific).sql new file mode 100644 index 000000000000..7e69a83c4eda --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +INSERT BULK "BulkCopyTable" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + diff --git a/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,RowByRow).sql b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,RowByRow).sql new file mode 100644 index 000000000000..7eae7c9a631a --- /dev/null +++ b/DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(DB2,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO "BulkCopyTable" +( + "Id", + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +SELECT + "t1"."Id", + "t1"."Value" +FROM + "BulkCopyTable" "t1" +ORDER BY + "t1"."Id" + +BeforeExecute +-- DB2 DB2.LUW DB2LUW + +DELETE FROM + "BulkCopyTable" "t1" + From 91a22f260bf8e57a00b3ed77aff0c9a2a55e53f1 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:41:37 +0000 Subject: [PATCH 39/41] [Windows / Access ACE (OLEDB/ODBC) x86] baselines --- ...umerable(Access.Ace.Odbc,MultipleRows).sql | 954 +++++++++ ...able(Access.Ace.Odbc,ProviderSpecific).sql | 954 +++++++++ ...ncEnumerable(Access.Ace.Odbc,RowByRow).sql | 954 +++++++++ ...umerable(Access.Ace.Odbc,MultipleRows).sql | 1908 +++++++++++++++++ ...able(Access.Ace.Odbc,ProviderSpecific).sql | 1908 +++++++++++++++++ ...y_Enumerable(Access.Ace.Odbc,RowByRow).sql | 1908 +++++++++++++++++ ...merable(Access.Ace.OleDb,MultipleRows).sql | 954 +++++++++ ...ble(Access.Ace.OleDb,ProviderSpecific).sql | 954 +++++++++ ...cEnumerable(Access.Ace.OleDb,RowByRow).sql | 954 +++++++++ ...merable(Access.Ace.OleDb,MultipleRows).sql | 1908 +++++++++++++++++ ...ble(Access.Ace.OleDb,ProviderSpecific).sql | 1908 +++++++++++++++++ ..._Enumerable(Access.Ace.OleDb,RowByRow).sql | 1908 +++++++++++++++++ 12 files changed, 17172 insertions(+) create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,MultipleRows).sql create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,ProviderSpecific).sql create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,RowByRow).sql create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,MultipleRows).sql create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,ProviderSpecific).sql create mode 100644 Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,RowByRow).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,MultipleRows).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,ProviderSpecific).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,RowByRow).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,MultipleRows).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,ProviderSpecific).sql create mode 100644 Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,RowByRow).sql diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,MultipleRows).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..f2ab9857438d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,ProviderSpecific).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..f2ab9857438d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,ProviderSpecific).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,RowByRow).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,RowByRow).sql new file mode 100644 index 000000000000..f2ab9857438d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.Odbc,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,MultipleRows).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,MultipleRows).sql new file mode 100644 index 000000000000..953e535ed97d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,ProviderSpecific).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,ProviderSpecific).sql new file mode 100644 index 000000000000..953e535ed97d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,ProviderSpecific).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,RowByRow).sql b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,RowByRow).sql new file mode 100644 index 000000000000..953e535ed97d --- /dev/null +++ b/Access.Ace.Odbc/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.Odbc,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 1 +DECLARE @Value Int -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC (asynchronously) +DECLARE @Id Int -- Int32 +SET @Id = 2 +DECLARE @Value Int -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + ?, + ? +) + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.Odbc AccessODBC + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,MultipleRows).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,MultipleRows).sql new file mode 100644 index 000000000000..6cdf977be1cf --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,ProviderSpecific).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,ProviderSpecific).sql new file mode 100644 index 000000000000..6cdf977be1cf --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,ProviderSpecific).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,RowByRow).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,RowByRow).sql new file mode 100644 index 000000000000..6cdf977be1cf --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Access.Ace.OleDb,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,MultipleRows).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,MultipleRows).sql new file mode 100644 index 000000000000..68817009411e --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,ProviderSpecific).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,ProviderSpecific).sql new file mode 100644 index 000000000000..68817009411e --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,ProviderSpecific).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + diff --git a/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,RowByRow).sql b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,RowByRow).sql new file mode 100644 index 000000000000..68817009411e --- /dev/null +++ b/Access.Ace.OleDb/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Access.Ace.OleDb,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 1 +DECLARE @Value Integer -- Int32 +SET @Value = 10 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb (asynchronously) +DECLARE @Id Integer -- Int32 +SET @Id = 2 +DECLARE @Value Integer -- Int32 +SET @Value = 20 + +INSERT INTO [BulkCopyTable] +( + [Id], + [Value] +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +SELECT + [t1].[Id], + [t1].[Value] +FROM + [BulkCopyTable] [t1] +ORDER BY + [t1].[Id] + +BeforeExecute +-- Access.Ace.OleDb AccessOleDb + +DELETE FROM + [BulkCopyTable] [t1] + From b0edc9d6e6acaf47800b601a8a1de5b1c9669314 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:46:44 +0000 Subject: [PATCH 40/41] [Linux / Informix 14.10] baselines --- ...cEnumerable(Informix.DB2,MultipleRows).sql | 954 +++++++++ ...merable(Informix.DB2,ProviderSpecific).sql | 360 ++++ ...AsyncEnumerable(Informix.DB2,RowByRow).sql | 954 +++++++++ ..._Enumerable(Informix.DB2,MultipleRows).sql | 1908 +++++++++++++++++ ...merable(Informix.DB2,ProviderSpecific).sql | 720 +++++++ ...Copy_Enumerable(Informix.DB2,RowByRow).sql | 1908 +++++++++++++++++ 6 files changed, 6804 insertions(+) create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,MultipleRows).sql create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,ProviderSpecific).sql create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,RowByRow).sql create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,MultipleRows).sql create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,ProviderSpecific).sql create mode 100644 Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,RowByRow).sql diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,MultipleRows).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,MultipleRows).sql new file mode 100644 index 000000000000..45b974551861 --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,MultipleRows).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,ProviderSpecific).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,ProviderSpecific).sql new file mode 100644 index 000000000000..25a5765ff500 --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,ProviderSpecific).sql @@ -0,0 +1,360 @@ +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,RowByRow).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,RowByRow).sql new file mode 100644 index 000000000000..45b974551861 --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(Informix.DB2,RowByRow).sql @@ -0,0 +1,954 @@ +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,MultipleRows).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,MultipleRows).sql new file mode 100644 index 000000000000..84899a2f980e --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,MultipleRows).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,ProviderSpecific).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,ProviderSpecific).sql new file mode 100644 index 000000000000..3e5074aedd8c --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,ProviderSpecific).sql @@ -0,0 +1,720 @@ +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +INSERT BULK BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + diff --git a/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,RowByRow).sql b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,RowByRow).sql new file mode 100644 index 000000000000..84899a2f980e --- /dev/null +++ b/Informix.DB2/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(Informix.DB2,RowByRow).sql @@ -0,0 +1,1908 @@ +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 1 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 10 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix (asynchronously) +DECLARE @Id Integer(4) -- Int32 +SET @Id = 2 +DECLARE @Value Integer(4) -- Int32 +SET @Value = 20 + +INSERT INTO BulkCopyTable +( + Id, + "Value" +) +VALUES +( + @Id, + @Value +) + +BeforeExecute +-- Informix.DB2 Informix + +SELECT + t1.Id, + t1."Value" +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- Informix.DB2 Informix + +DELETE FROM + BulkCopyTable + From f48a2eee8a792534e9428c393d1ad4c9890f99d7 Mon Sep 17 00:00:00 2001 From: Azure Pipelines Bot Date: Sun, 24 Aug 2025 22:51:09 +0000 Subject: [PATCH 41/41] [Linux / ClickHouse Driver] baselines --- ...erable(ClickHouse.Driver,MultipleRows).sql | 540 ++++++ ...le(ClickHouse.Driver,ProviderSpecific).sql | 378 ++++ ...Enumerable(ClickHouse.Driver,RowByRow).sql | 828 +++++++++ ...erable(ClickHouse.Driver,MultipleRows).sql | 1080 +++++++++++ ...le(ClickHouse.Driver,ProviderSpecific).sql | 756 ++++++++ ...Enumerable(ClickHouse.Driver,RowByRow).sql | 1656 +++++++++++++++++ 6 files changed, 5238 insertions(+) create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,MultipleRows).sql create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,ProviderSpecific).sql create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,RowByRow).sql create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,MultipleRows).sql create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,ProviderSpecific).sql create mode 100644 ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,RowByRow).sql diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,MultipleRows).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,MultipleRows).sql new file mode 100644 index 000000000000..7936b4441bbc --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,MultipleRows).sql @@ -0,0 +1,540 @@ +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,ProviderSpecific).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,ProviderSpecific).sql new file mode 100644 index 000000000000..d4605bc824c6 --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,ProviderSpecific).sql @@ -0,0 +1,378 @@ +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,RowByRow).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,RowByRow).sql new file mode 100644 index 000000000000..71ee8cc40968 --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_AsyncEnumerable(ClickHouse.Driver,RowByRow).sql @@ -0,0 +1,828 @@ +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,MultipleRows).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,MultipleRows).sql new file mode 100644 index 000000000000..9208acf3e13c --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,MultipleRows).sql @@ -0,0 +1,1080 @@ +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +(1,10), +(2,20) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,ProviderSpecific).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,ProviderSpecific).sql new file mode 100644 index 000000000000..fad321ae5b66 --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,ProviderSpecific).sql @@ -0,0 +1,756 @@ +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +INSERT ASYNC BULK BulkCopyTable(Id, Value) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + diff --git a/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,RowByRow).sql b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,RowByRow).sql new file mode 100644 index 000000000000..ff61386a1038 --- /dev/null +++ b/ClickHouse.Driver/Tests/Linq/DataContextExtensionsTests/Tests.Linq.DataContextExtensionsTests.BulkCopy_Enumerable(ClickHouse.Driver,RowByRow).sql @@ -0,0 +1,1656 @@ +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 1, + 10 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse (asynchronously) + +INSERT INTO BulkCopyTable +( + Id, + Value +) +VALUES +( + 2, + 20 +) + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +SELECT + t1.Id, + t1.Value +FROM + BulkCopyTable t1 +ORDER BY + t1.Id + +BeforeExecute +-- ClickHouse.Driver ClickHouse + +ALTER TABLE + BulkCopyTable +DELETE WHERE 1 +