forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oracle - Implementation of Batch Insertion
A combination of the 6 "commits" of PR dotnet#10071 With the updated files from the branch dev!
- Loading branch information
1 parent
61952a4
commit b84df60
Showing
15 changed files
with
1,064 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
samples/OracleProvider/src/OracleProvider/Update/Internal/IOracleUpdateSqlGenerator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.EntityFrameworkCore.Update.Internal | ||
{ | ||
public interface IOracleUpdateSqlGenerator : IUpdateSqlGenerator | ||
{ | ||
ResultSetMapping AppendBatchInsertOperation( | ||
StringBuilder commandStringBuilder, | ||
Dictionary<string, string> variablesInsert, | ||
IReadOnlyList<ModificationCommand> modificationCommands, | ||
int commandPosition, | ||
ref int cursorPosition); | ||
|
||
ResultSetMapping AppendBatchUpdateOperation( | ||
StringBuilder commandStringBuilder, | ||
StringBuilder variablesCommand, | ||
IReadOnlyList<ModificationCommand> modificationCommands, | ||
int commandPosition, | ||
ref int cursorPosition); | ||
|
||
ResultSetMapping AppendBatchDeleteOperation( | ||
StringBuilder commandStringBuilder, | ||
StringBuilder variablesCommand, | ||
IReadOnlyList<ModificationCommand> modificationCommands, | ||
int commandPosition, | ||
ref int cursorPosition); | ||
} | ||
} |
Oops, something went wrong.