SqlEverywhereDataService.BuildUpdateCommand

Creates an update command object for the row passed along.

public virtual IDbCommand BuildUpdateCommand( DataRow changedRow,
	KeyType primaryKeyType,
	string primaryKeyFieldName,
	DataRowUpdateMode updateMode,
	DataRowProcessMethod updateMethod );

Return Value

Update command that can subsequentially be executed against the database using the same data service.

Parameters

changedRow
Changed ADO.NET data row

primaryKeyType
Primary key type

primaryKeyFieldName
Name of the primary key field

updateMode
Optimistic or pesimistic update mode.

updateMethod
Method used to update the database (commands, stored procedures,...)


See also:

Class SqlEverywhereDataService


  Last Updated: 5/23/2007 | © , 2007