An asynchronous version of
Update(String, RecordSet) that calls the respective INSERT, UPDATE, or DELETE statements
for each added, updated, or deleted row in the specified
RecordSet.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
public Task<int> UpdateAsync(
string tableName,
RecordSet recordSet
)
public Task<int> UpdateAsync(
string tableName,
RecordSet recordSet
)
Public Function UpdateAsync (
tableName As String,
recordSet As RecordSet
) As Task(Of Integer)
Public Function UpdateAsync (
tableName As String,
recordSet As RecordSet
) As Task(Of Integer)
public:
virtual Task<int>^ UpdateAsync(
String^ tableName,
RecordSet^ recordSet
) sealed
public:
virtual Task<int>^ UpdateAsync(
String^ tableName,
RecordSet^ recordSet
) sealed
abstract UpdateAsync :
tableName : string *
recordSet : RecordSet -> Task<int>
override UpdateAsync :
tableName : string *
recordSet : RecordSet -> Task<int>
abstract UpdateAsync :
tableName : string *
recordSet : RecordSet -> Task<int>
override UpdateAsync :
tableName : string *
recordSet : RecordSet -> Task<int>
Return Value
Type:
Task Int32 The number of rows successfully updated.
Implements
IRecordSetAdapter UpdateAsync(String, RecordSet)