Sdílet prostřednictvím


Using a database

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

If you have been using CoreData in your iOS apps, you'll find this info useful when working in Windows 8.1 or Windows Phone 8.1.

An iOS app can store data in several ways: in a plist file, by reading/writing local files, or by using CoreData – the framework which manages database support. If your app needs to store more than preferences and settings (see Loading and saving settings) then it may benefit from using a database. Windows 8 does not include native database APIs, but it does work well with SQLite.

For how to install, set-up and use a SQLite database in your own app, see SQLite programming.

Microsoft Azure

For apps which require access to remote data, you may want to consider Microsoft Azure Mobile Services. This service provides a cloud-based database solution designed to be easily implemented in your app.

Topics for iOS devs

Resources for iOS devs

Windows 8 controls for iOS devs

Windows 8 cookbook for iOS devs

SQLite topics

Using SQLite in Windows 8 Store Apps

SQLite with Windows 8 apps

sqlite-net Readme

Books About SQLite

Azure topics

Get started with Mobile Services

Microsoft Azure Mobile Services