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
CancelGetNotification method
ChangeDatabase method
ChangeEncryptionKey method
ChangePassword method
Close method
CountUploadRows methods
CreateCommand method
CreateNotificationQueue method
DeclareEvent method
DestroyNotificationQueue method
ExecuteNextSQLPassthroughScript method
ExecuteSQLPassthroughScripts method
ExecuteTable methods
GetLastDownloadTime method
GetNewUUID method
GetNotification method
GetNotificationParameter method
GetSQLPassthroughScriptCount method
GetSchema methods
GrantConnectTo method
Open method
RegisterForEvent method
ResetLastDownloadTime method
RevokeConnectFrom method
RollbackPartialDownload method
SendNotification method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize methods
TriggerEvent method
ValidateDatabase method
InfoMessage event
StateChange event