Partager via


MongoBulkExecutor.BulkImportAsync Méthode

Définition

Surcharges

BulkImportAsync(IEnumerable<BsonDocument>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
BulkImportAsync(IEnumerable<Object>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
BulkImportAsync(IEnumerable<String>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

BulkImportAsync(IEnumerable<BsonDocument>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<MongoDB.Bson.BsonDocument> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
member this.BulkImportAsync : seq<MongoDB.Bson.BsonDocument> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of BsonDocument), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Paramètres

documents
IEnumerable<MongoDB.Bson.BsonDocument>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Retours

S’applique à

BulkImportAsync(IEnumerable<Object>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<object> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of Object), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Paramètres

documents
IEnumerable<Object>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Retours

Implémente

S’applique à

BulkImportAsync(IEnumerable<String>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<string> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of String), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Paramètres

documents
IEnumerable<String>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Retours

Implémente

S’applique à