The example in Listing 11 connects to a local database named ldb, sets savepoints, performs operations on remote databases, and rolls back to a savepoint.
清单 11 中的示例连接到一个名为 ldb 的本地数据库,设置保存点并在远程数据库上执行操作,然后回滚到保存点。
First up is the ADO.NET DataSet, which is quite capable of writing back change sets to databases.
第一个是ADO.NET DataSet,它能够回写更改的集合到数据库。
This pattern, shown in figure 10, extends the other patterns by enabling a user to update primary and secondary data sets or to create new records that are persisted on back-end systems.
如 图 10 所示,这个模式扩展了其他模式,它允许用户更新主数据集和辅助数据集,或者创建在后端系统上的持久化新记录。
应用推荐