อ่านในภาษาอังกฤษ

แชร์ผ่าน


IDbContextTransactionManager.CommitTransactionAsync(CancellationToken) Method

Definition

Commits all changes made to the database in the current transaction.

C#
public System.Threading.Tasks.Task CommitTransactionAsync (System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for the task to complete.

Returns

A task that represents the asynchronous operation.

Exceptions

Applies to

ผลิตภัณฑ์ เวอร์ชัน
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0