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 » Introduction to UltraLite.NET » UltraLite and .NET

UltraLite and .NET Next Page

iAnywhere.Data.UltraLite namespace (.NET 1.0)


The iAnywhere.Data.UltraLite namespace contains the classes, interfaces, and enumerations of the UltraLite.NET Data Provider for ADO.NET. UltraLite.NET allows you to write C# or Visual Basic .NET code to develop UltraLite database applications using the ADO.NET standard and provides a migration path to SQL Anywhere.

If you are undecided as to whether to use UltraLite or SQL Anywhere, start with the iAnywhere.Data.UltraLite namespace and switch to SQL Anywhere (iAnywhere.Data.SQLAnywhere namespace) if you determine that more advanced SQL Anywhere features are required. If you may be moving to SQL Anywhere, avoid as much as possible the few UltraLite-only extensions that are in the iAnywhere.Data.UltraLite namespace.

UltraLite.NET extensions that are not available in the SQL Anywhere Data Provider for ADO.NET are denoted in this API reference with "UL Ext.:". To use the UltraLite Engine runtime of UltraLite.NET, set RuntimeType property to the appropriate value prior to using any other UltraLite.NET API.

Applications must open a connection to perform operations on a database. Connections are opened using the ULConnection class. The iAnywhere.Data.UltraLite assembly uses a satellite resource assembly called iAnywhere.Data.UltraLite.resources. The main assembly searches for this resource assembly by culture, using the following order:  [external link] CultureInfo.CurrentUICulture, then  [external link] CultureInfo.CurrentCulture, and finally culture "EN".