DbCommandBuilder GetUpdateCommand Method NReco.Data Class Library Documentation
Gets the automatically generated IDbCommand object to update rows by specified Query.

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public virtual IDbCommand GetUpdateCommand(
	Query query,
	IEnumerable<KeyValuePair<string, IQueryValue>> data
)

Parameters

query
Type: NReco.Data Query
query that determines update table and conditions
data
Type: System.Collections.Generic IEnumerable KeyValuePair String, IQueryValue  
changeset data

Return Value

Type: IDbCommand
update SQL command

Implements

IDbCommandBuilder GetUpdateCommand(Query, IEnumerable KeyValuePair String, IQueryValue  )
See Also