Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 11 - 更改和升级 » 11.0.0 版中的新功能 » UltraLite » UltraLite 的新功能

 

编程接口

一般改进

已经用发布列表替换了发布掩码。关键字 Publications 将采用以逗号分隔的发布名列表。

UltraLite C/C++

新方法 UltraLite_Table* OpenTableEx() 现在是 UltraLite_Connection 对象的一部分。此方法给予了非 SQL 应用程序以更为通用的方式打开表和直接扫描行。请参见使用直接页扫描

采用此方法可以指定以下方式之一来打开表:

  • 要返回主键行,可使用 ul_table_open_primary_key。

  • 要以任意顺序返回行,可使用 ul_table_open_no_index。

  • 要以索引指定的顺序返回行,可使用 ul_table_open_with_index。

有关此方法的完整语法和引用的信息,请参见OpenTableEx 函数

UltraLite 嵌入式 SQL
  • 与错误解释相关的两个函数的文档。请参见ULGetErrorParameter 函数ULGetErrorParameterCount 函数

  • 已经更改函数 ULGetLastDownloadTime、ULResetLastDownloadTime 和 ULCountUploadRows 的语法,以便反映从发布掩码到发布列表的变化。

  • 函数 ULGetPublicationMask 不再可用。

UltraLite.NET
  • ULDataReader 类中包含一个新方法:GetRowCount(threshold) 用于检索行计数直至指定的最大行数。

  • ULDataReader 类现在实现了 IListSource 接口。

UltraLite for M-Business Anywhere
  • Connection 类中用于事件处理和通知的新方法:cancelGetNotification、createNotificationQueue、declareEvent、destroyNotificationQueue、getNotification、getNotificationParameter、registerForEvent、sendNotification 和 triggerEvent。

UltraLiteJ

UltraLiteJ 是支持 Java SE 和 Java ME 环境(包括 BlackBerry 智能手机)的 UltraLite 的 Java 实现。请参见UltraLiteJ 简介