ISQLData.WriteSQL(ISQLOutput) Method
Definition
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.
Writes this object to the given SQL data stream, converting it back to its SQL value in the data source.
[Android.Runtime.Register("writeSQL", "(Ljava/sql/SQLOutput;)V", "GetWriteSQL_Ljava_sql_SQLOutput_Handler:Java.Sql.ISQLDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteSQL (Java.Sql.ISQLOutput? stream);
[<Android.Runtime.Register("writeSQL", "(Ljava/sql/SQLOutput;)V", "GetWriteSQL_Ljava_sql_SQLOutput_Handler:Java.Sql.ISQLDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteSQL : Java.Sql.ISQLOutput -> unit
Parameters
- stream
- ISQLOutput
the SQLOutput
object to which to write the data for
the value that was custom mapped
- Attributes
Exceptions
if a database error occurs.
Remarks
Writes this object to the given SQL data stream, converting it back to its SQL value in the data source. The implementation of the method must follow this protocol:<BR> It must write each of the attributes of the SQL type to the given output stream. This is done by calling a method of the output stream to write each item, in the order that they appear in the SQL definition of the type. Specifically, it must call the appropriate SQLOutput
writer method(s) (writeInt
, writeString
, and so on) to do the following: for a Distinct Type, write its single data element; for a Structured Type, write a value for each attribute of the SQL type.
Added in 1.2.
Java documentation for java.sql.SQLData.writeSQL(java.sql.SQLOutput)
.
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.