使用什么框架从 iPhone 连接到 SQL Server 实例?
我需要编写一个 iPhone 应用程序来连接 SQL Server 实例,但我不知道可以使用哪个框架来执行此操作。有我可以使用的 ODBC 框架吗?任何链接将不胜感激。
请不要告诉我使用网络服务,因为这不适合这种情况。
编辑:我正在为 iPhone 构建一个 SQL 查询工具。如果我的用户只想查询数据库中的几个表,我不希望他们必须设置 Web 服务。
I need to write an iPhone application to connect an instance of SQL Server but I can't figure out which framework I could use to do this. Is there an ODBC framework I could use? Any links would be appreciated.
Please do not tell me to use a web service as that won't fit for this situation.
EDIT: I'm building a SQL querying tool for the iPhone. I don't want my users to have to setup a web service if they just want to query a couple tables in their database.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
毫无疑问,由于您不在,在 Objective-C 中连接到 SQL Server 的选择非常有限。以下是一些选项:
另外,由于 Objective-C 是 C 的超集,vanilla C 工作得很好,尽管你不会得到使用面向对象库的固有“好处”。 Microsoft 有一个关于ODBC 程序员参考 让您开始。
As you're undoubtably away, choices for connecting to SQL Server in Objective-C are quite limited. Here are a few options:
Alternatively, since Objective-C is a superset of C, vanilla C works just fine, though you won't get the inherent "niceness" of working with an OO library. Microsoft has a page on ODBC Programmer's Reference to get you started.