Gets the automatically generated ULCommand object required to perform insertions on the database.
Visual Basic Public Function GetInsertCommand() As ULCommand
C# public ULCommand GetInsertCommand();
The automatically generated ULCommand object required to perform insertions.
After the SQL statement is first generated, the application must explicitly call the DbCommandBuilder.RefreshSchema if it changes the ULDataAdapter.SelectCommand in any way. Otherwise, the GetInsertCommand method will still be using information from the previous statement, which might not be correct. The SQL statements are first generated when the application calls either the DbDataAdapter.Update(System.Data.DataSet) or the GetInsertCommand method.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|