Show / Hide Table of Contents

Method UpdateAsync

| Improve this Doc View Source

UpdateAsync(IDbTable, DbSelectStatement, CancellationToken)

Executes UPDATE query statement.

Declaration
public static Task<int> UpdateAsync(this IDbTable dbTable, DbSelectStatement statement, CancellationToken ct)
Parameters
Type Name Description
IDbTable dbTable

The target DbTable.

DbSelectStatement statement

The query statement.

System.Threading.CancellationToken ct

The async cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Int32>

Number of rows affected.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest