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

SQL Anywhere 12.0.1 » UltraLite - C 及 C++ 编程 » 教程 » 教程:使用 C++ API 构建 iPhone 应用程序

 

第 2 课:将数据库添加到应用程序

为了与数据库交互,应用程序采用 Apple 框架规定的 MVC 模式,并定义了 "模型" 类。

 数据模型类
 DataAccess 单个实例
 打开与数据库的连接
 数据库访问
 构建应用程序