Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UpdateRowSource Enum

Definition

Namespace:
System.Data
Assembly:
System.Data.Common.dll
Assemblies:
netstandard.dll, System.Data.Common.dll
Assembly:
System.Data.dll
Assembly:
netstandard.dll
Source:
UpdateRowSource.cs
Source:
UpdateRowSource.cs
Source:
DbBatchCommandCollection.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?