Executes UPDATE statement generated by specified
Query and POCO model.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
public int Update(
Query query,
Object pocoModel
)
public int Update(
Query query,
Object pocoModel
)
Public Function Update (
query As Query,
pocoModel As Object
) As Integer
Public Function Update (
query As Query,
pocoModel As Object
) As Integer
public:
int Update(
Query^ query,
Object^ pocoModel
)
public:
int Update(
Query^ query,
Object^ pocoModel
)
member Update :
query : Query *
pocoModel : Object -> int
member Update :
query : Query *
pocoModel : Object -> int
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:
Int32Number of updated data records.