UpdateRowSource Enum

Definition

Specifies how query command results are applied to the row being updated.

public enum class UpdateRowSource
public enum UpdateRowSource
type UpdateRowSource = 
Public Enum UpdateRowSource
Inheritance
UpdateRowSource

Fields

Name Value Description
None 0

Any returned parameters or rows are ignored.

OutputParameters 1

Output parameters are mapped to the changed row in the DataSet.

FirstReturnedRecord 2

The data in the first returned row is mapped to the changed row in the DataSet.

Both 3

Both the output parameters and the first returned row are mapped to the changed row in the DataSet.

Remarks

The UpdateRowSource values are used by the UpdatedRowSource property of IDbCommand and any classes derived from it.

For more information property, see DataAdapter Parameters.

Applies to