Language

CosmosEventId.BulkExecutionWithTransactionalBatch Field

Definition

SaveChanges was invoked with both bulk execution and batching being enabled. Transactional batches can not be run in bulk thus they will skip bulk execution. Use AutoTransactionBehavior.Never to leverage bulk execution. If batching was intended, suppress this warning using DbContextOptionsBuilder.ConfigureWarnings(w => w.Ignore(CosmosEventId.BulkExecutionWithTransactionalBatch))

public static readonly Microsoft.Extensions.Logging.EventId BulkExecutionWithTransactionalBatch;
 staticval mutable BulkExecutionWithTransactionalBatch : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly BulkExecutionWithTransactionalBatch As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.Update category.

This event uses the AutoTransactionBehaviorEventData payload when used with a DiagnosticSource.

Applies to