DbDataAdapter Update Method (Query, Object)NReco.Data Class Library Documentation
Executes UPDATE statement generated by specified Query and POCO model.

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

public int Update(
	Query query,
	Object pocoModel
)

Parameters

query
Type: NReco.Data Query
query that determines data records to update.
pocoModel
Type: System Object
POCO model with public properties that match table columns.

Return Value

Type: Int32
Number of updated data records.
See Also