Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Clears the commands associated with this ULCommandBuilder.
Public Sub RefreshSchema()
public void RefreshSchema();
After the SQL statement is first generated, the application must explicitly call RefreshSchema if it changes the ULDataAdapter.SelectCommand statement in any way. Otherwise, GetInsertCommand, GetDeleteCommand, and GetUpdateCommand 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 ULDataAdapter.Update, GetInsertCommand, GetDeleteCommand, or GetUpdateCommand.