Collection Contents Previous Next PDF

UltraLite.NET User's Guide

iAnywhere.Data.UltraLite namespace

ULConnection class


Represents a connection to an UltraLite.NET database.

Prototypes 

' Visual Basic
NotInheritable Public Class ULConnection
  Inherits Component, IDbConnection

// C#
public sealed class ULConnection :
  Component,
  IDbConnection

Remarks 

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

A connection to an existing database is opened using the Open method method. You can create a new database and connect to it using the OpenWithCreate method method.

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 Schema property property.

Implements: [external link] IDbConnection, [external link] IDisposable


ULConnection members
ULConnection constructor
ULConnection constructor
INVALID_DATABASE_ID field
ConnectionString property
ConnectionTimeout property
Database property
DatabaseID property
DatabaseManager property
GlobalAutoIncrementUsage property
LastIdentity property
Schema property
State property
SyncParms property
SyncResult property
BeginTransaction method
BeginTransaction method
ChangeDatabase method
ChangeEncryptionKey method
Close method
CountUploadRows method
CountUploadRows method
CreateCommand method
Dispose method
ExecuteTable method
ExecuteTable method
ExecuteTable method
Finalize method
GetLastDownloadTime method
GetNewUUID method
GrantConnectTo method
Open method
OpenWithCreate method
ResetLastDownloadTime method
RevokeConnectFrom method
RollbackPartialDownload method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize method
Synchronize method
InfoMessage event
StateChange event

Collection Contents Previous Next PDF