7.3.3.1 KeyColumnsList
This property specifies the list of columns used as a key to locate existing rows for update or delete using an XML document.
Declaration
// C#
public string[] KeyColumnsList {get; set;}Property Value
The list of columns.
Remarks
Default value is null.
The first null value (if any) terminates the list.
KeyColumnsList usage with XMLCommandType property values:
-
Insert-KeyColumnsListis ignored and can be null. -
Update-KeyColumnsListmust be specified; it identifies the columns to use to find the rows to be updated. -
Delete- IfKeyColumnsListis null, all the column values in each row element in the XML document are used to locate the rows to delete. Otherwise,KeyColumnsListspecifies the columns used to identify the rows to delete.