Udostępnij za pośrednictwem


IResultSet.UpdateRowId Method

Definition

Overloads

UpdateRowId(String, IRowId)

Updates the designated column with a RowId value.

UpdateRowId(Int32, IRowId)

Updates the designated column with a RowId value.

UpdateRowId(String, IRowId)

Updates the designated column with a RowId value.

[Android.Runtime.Register("updateRowId", "(Ljava/lang/String;Ljava/sql/RowId;)V", "GetUpdateRowId_Ljava_lang_String_Ljava_sql_RowId_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateRowId (string? columnLabel, Java.Sql.IRowId? x);
[<Android.Runtime.Register("updateRowId", "(Ljava/lang/String;Ljava/sql/RowId;)V", "GetUpdateRowId_Ljava_lang_String_Ljava_sql_RowId_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateRowId : string * Java.Sql.IRowId -> unit

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

x
IRowId

the column value

Attributes

Exceptions

Remarks

Updates the designated column with a RowId value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateRowId(java.lang.String, java.sql.RowId).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

UpdateRowId(Int32, IRowId)

Updates the designated column with a RowId value.

[Android.Runtime.Register("updateRowId", "(ILjava/sql/RowId;)V", "GetUpdateRowId_ILjava_sql_RowId_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateRowId (int columnIndex, Java.Sql.IRowId? x);
[<Android.Runtime.Register("updateRowId", "(ILjava/sql/RowId;)V", "GetUpdateRowId_ILjava_sql_RowId_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateRowId : int * Java.Sql.IRowId -> unit

Parameters

columnIndex
Int32

the first column is 1, the second 2, ...

x
IRowId

the column value

Attributes

Exceptions

Remarks

Updates the designated column with a RowId value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateRowId(int, java.sql.RowId).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to