Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
添加了新的 UltraLite C/C++ API 本发行版本中添加了新版的 UltraLite C/C++ API。该 API 是在 ulcpp.h 头文件中声明的。请参见UltraLite C/C++ API 参考。
以下对象在本版 UltraLite C/C++ API 中已重命名:
下列方法已从 C++ API 中删除:GetDatabaseID、SetDatabaseID、IsCaseSensitive 和 GetCollationName。相应功能现在由 GetDatabaseProperty 和 SetDatabaseOption 处理。请参见GetDatabaseProperty 方法和SetDatabaseOption 方法。
已添加了 GetDatabasePropertyInt 方法。请参见GetDatabasePropertyInt 方法。
添加了新的 ULConnection.ValidateDatabase(ULDBValid) 方法 此方法等效于在为 tableName 传递空值时调用 ULConnection.ValidateDatabase(ULDBValid, String)。请参见ValidateDatabase(ULDBValid) 方法。
API 功能 在本发行版本中添加了下列对象:
SyncParms 类中的 setPublications 方法。该方法用于设置要同步的发布。请参见setPublications 方法。
SyncParms 类中的 getPublications 方法。该方法用于返回要同步的发布。请参见getPublications 方法。
CreationParms 类中的 timestampWithTimeZoneFormat 成员。该成员使用从数据库检索得来的时区设置时间戳格式。请参见timestampWithTimeZoneFormat 变量。
PreparedStatement 类中的 setTimestampWithTimeZoneParameter 方法和 ULTable 类中的 setTimestampWithTimeZone 方法。这些方法使用 Date 对象为指定的 SQLType.TIMESTAMP_WITH_TIME_ZONE 类型参数设置值。请参见setTimestampWithTimeZoneParameter 方法和setTimestampWithTimeZone 方法。
ResultSet 和 ULTable 类中的 getTimestampWithTimeZone 方法。这些方法以 Date 对象形式返回指定列的值。请参见getTimestampWithTimeZone 方法(ResultSet 类)和getTimestampWithTimeZone 方法(ULTable 类)。