ReaderModificationCommandBatch.ExecuteAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the command generated by this batch against a database using the given connection.
C#
public override System.Threading.Tasks.Task ExecuteAsync (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Threading.CancellationToken cancellationToken = default);
override this.ExecuteAsync : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ExecuteAsync (connection As IRelationalConnection, Optional cancellationToken As CancellationToken = Nothing) As Task
- connection
- IRelationalConnection
The connection to the database to update.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for the task to complete.
A task that represents the asynchronous operation.
If the CancellationToken is canceled.
منتج | الإصدارات |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
ملاحظات Entity Framework
Entity Framework هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: