Represents a connection to an UltraLite.NET database.
Public NotInheritable Class ULConnection Inherits System.Data.Common.DbConnection
public sealed class ULConnection : System.Data.Common.DbConnection
All members of ULConnection class, including all inherited members.
Name | Description |
---|---|
Initializes a ULConnection object. | |
BeginDbTransaction method (Inherited from System.Data.Common.DbConnection) |
Starts a database transaction. |
UL Ext: Asynchronously launches a synchronization using the current the SyncParms object. | |
Returns a transaction object. | |
UL Ext: Cancels any pending get-notification calls on all queues matching the given name. | |
UL Ext: Causes a running synchronization to be canceled at the next opportunity. | |
Changes the current database for an open connection. | |
UL Ext: Changes the database's encryption key to the specified new key. | |
Changes the password for the user indicated in the connection string to the supplied new password. | |
Closes the database connection. | |
UL Ext: Returns the number of rows that need to be uploaded when the next synchronization takes place. | |
Creates and initializes a ULCommand object associated with this connection and its current transaction. | |
UL Ext: Creates an event queue. | |
UL Ext: Declares a named event. | |
UL Ext: Destroys an event queue. | |
UL Ext: Blocks until an asynchronously launched synchronization terminates. | |
EnlistTransaction method (Inherited from System.Data.Common.DbConnection) |
Enlists in the specified transaction. |
UL Ext: Retrieves a database table in a ULTable object for direct manipulation. | |
UL Ext: Returns the time of the most recent download of the specified publication. | |
UL Ext: Generates a new UUID (System.Guid). | |
UL Ext: Blocks for a notification or timeout. | |
UL Ext: Gets the value of a parameter for an event that was just read by the GetNotification method. | |
Returns the list of supported schema collections. | |
UL Ext: Grants access to an UltraLite database for a user ID with a specified password. | |
OnStateChange method (Inherited from System.Data.Common.DbConnection) |
Raises the System.Data.Common.DbConnection.StateChange event. |
Opens a connection to a database using the previously-specified connection string. | |
UL Ext: Registers a queue to get events from an object. | |
UL Ext: Resets the time of the most recent download. | |
UL Ext: Revokes access to an UltraLite database from the specified user ID. | |
UL Ext: Rolls back outstanding changes to the database from a partial download. | |
UL Ext: Sends a notification to matching queues. | |
Specifies the listener object used to process synchronization messages. | |
UL Ext: Marks all subsequent deletes made by this connection for synchronization. | |
UL Ext: Prevents delete operations from being synchronized. | |
UL Ext: Synchronizes the database using the current ULConnection.SyncParms object. | |
UL Ext: Triggers an event. | |
UL Ext: Performs validation on the current database. | |
Specifies the parameters to use for opening a connection to an UltraLite.NET database. | |
This feature is not supported by UltraLite.NET. | |
Returns the name of the database to which the connection opens. | |
UL Ext: Specifies the Database ID value to be used for global autoincrement columns. | |
This feature is not supported by UltraLite.NET. | |
DbProviderFactory property (Inherited from System.Data.Common.DbConnection) |
Gets the System.Data.Common.DbProviderFactory for this System.Data.Common.DbConnection. |
UL Ext: Returns the percentage of available global autoincrement values that have been used. | |
UL Ext: Returns the most recent identity value used. | |
UL Ext: Provides access to the schema of the current database associated with this connection. | |
This feature is not supported by UltraLite.NET. | |
Returns the current state of the connection. | |
UL Ext: Specifies the synchronization settings for this connection. | |
UL Ext: Returns the results of the last synchronization for this connection. | |
Occurs when UltraLite.NET sends a warning or an informational message on this connection. | |
Occurs when this connection changes state. | |
UL Ext: A database ID constant indicating that the ULConnection.DatabaseID property has not been set. | |
Empty publication list, corresponding to the entire database. | |
Publication name "*", corresponding to all publications. |
To use the UltraLite Engine runtime of UltraLite.NET, set the ULDatabaseManager.RuntimeType property to the appropriate value before using any other UltraLite.NET API.
A connection to an existing database is opened using the ULConnection.Open 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 ULConnection.Schema value.
ULConnection constructor
BeginSynchronize method
BeginTransaction method
CancelGetNotification method
CancelSynchronize method
ChangeDatabase method
ChangeEncryptionKey method
ChangePassword method
Close method
CountUploadRows method
CreateCommand method
CreateNotificationQueue method
DeclareEvent method
DestroyNotificationQueue method
EndSynchronize method
ExecuteTable method
GetLastDownloadTime method
GetNewUUID method
GetNotification method
GetNotificationParameter method
GetSchema method
GrantConnectTo method
Open method
RegisterForEvent method
ResetLastDownloadTime method
RevokeConnectFrom method
RollbackPartialDownload method
SendNotification method
SetSyncListener method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize method
TriggerEvent method
ValidateDatabase method
ConnectionString property
ConnectionTimeout property
Database property
DatabaseID property
DataSource property
GlobalAutoIncrementUsage property
LastIdentity property
Schema property
ServerVersion property
State property
SyncParms property
SyncResult property
InfoMessage event
StateChange event
INVALID_DATABASE_ID field
SYNC_ALL_DB field
SYNC_ALL_PUBS field
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |