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 2.0 API Reference

GetUpdateCommand() method Next Page

ULConnection class


Represents a connection to an UltraLite.NET database. This class cannot be inherited.

Syntax

Visual Basic

Public NotInheritable Class ULConnection
Inherits DbConnection

C#

public sealed class ULConnection : DbConnection

Remarks

To use the UltraLite Engine runtime of UltraLite.NET, set ULDatabaseManager.RuntimeType to the appropriate value before using any other UltraLite.NET API.

A connection to an existing database is opened using the ULConnection.Open.

You must open a connection before carrying out any other operation, and you must close the connection after you have finished all operations on the connection and before your application terminates. In addition, you must close all result sets and tables opened on a connection before closing the connection.

The schema of the database can be accessed using an open connection's ULConnection.Schema.

Implements: System.Data.IDbConnection, System.IDisposable

See also

ULConnection members
ULConnection constructors
INVALID_DATABASE_ID field
ConnectionString property
ConnectionTimeout property
DataSource property
Database property
DatabaseID property
DatabaseManager property
GlobalAutoIncrementUsage property
LastIdentity property
Schema property
ServerVersion property
State property
SyncParms property
SyncResult property
BeginTransaction methods
ChangeDatabase method
ChangeEncryptionKey method
ChangePassword method
Close method
CountUploadRows methods
CreateCommand method
ExecuteTable methods
GetLastDownloadTime method
GetNewUUID method
GetSchema methods
GrantConnectTo method
Open method
ResetLastDownloadTime method
RevokeConnectFrom method
RollbackPartialDownload method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize methods
InfoMessage event
StateChange event