Collection Contents Previous Next PDF

UltraLite.NET User's Guide

iAnywhere.UltraLite namespace

DatabaseNameParms class


Identifies an UltraLite database.

Prototypes 

' Visual Basic
Public Class DatabaseNameParms
  Inherits Component

// C#
public class DatabaseNameParms :
  Component

Remarks 

Each instance contains platform-specific and generic paths to the database. Only one value is used with the platform-specific path taking precedence over the generic path. For example, with

[Visual Basic]
  dbName.DatabaseOnCE="\UltraLite\mydb1.udb";
  dbName.DatabaseOnDesktop="mydb2.udb";
[C#]
  dbName.DatabaseOnCE="\\UltraLite\\mydb1.udb";
  dbName.DatabaseOnDesktop="mydb2.udb";

the path \UltraLite\mydb1.udb would be used on Windows CE while mydb2.udb would be used on other platforms.

After an instance is passed to an UltraLite method, the property ParmsUsed returns the parameters actually used by the UltraLite method.

The recommended extension for UltraLite database files is .udb. On Windows CE devices, the default database is \UltraLiteDB\ulstore.udb. On other Windows platforms, the default database is ulstore.udb. In C#, you must escape any backslash characters in paths.


DatabaseNameParms members
DatabaseNameParms constructor
AdditionalParms property
DatabaseOnCE property
DatabaseOnDesktop property
ParmsUsed property
Dispose method
ToString method
UnusedEvent event

Collection Contents Previous Next PDF