Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULCommand class

ExecuteTable method Next Page

Prepare method


Pre-compiles and stores the SQL statement of this command.

Syntax

Visual Basic

NotOverridable Public Sub Prepare() _
Implements IDbCommand.Prepare

C#

public void Prepare();

Remarks

Pre-compiling statements allows for the efficient re-use of statements when just the parameter values are changed. Changing any other property on this command unprepares the statement.

UltraLite.NET does not require you to explicitly prepare statements as all unprepared commands are prepared on calls to the various Execute methods.

Exceptions
Implements

[external link] IDbCommand.Prepare

See also