14 people following this project (follow)

Important Update 4/19/2012. I reset the version to 0.5 and updated the whole package to VS 11 Beta and WIndows 8 Consumer Preview.

This database is based on a file system in Windows 8 and is using WinRT (Windows Runtime) in Windows 8 environment and thus can be used for Metro style applications. It includes simple, yet effective API that allows you to create tables based on classes. Each database consists of any number of tables. All operations are asynchronous to support Metro style operations on file system. It also supports horizontal partitioning of tables to provide for smaller files and faster operations. The usage of this software is very simple. You create a new database by calling CreateDatabase. You can add tables to the database by calling db.CreateTable<T> where T is the type of entity to be stored in table rows. You can save either all tables by calling SaveAsync on database or one table at a time by calling SaveAsync on a specific table. It supports await and async keywords. It supports data binding to list based controls, such as ListBox.
IsBusy property is added and can be used to maintain the state of Save button. Please see QuickStart project that is part of the download for sample implementation of Save button and use of Busy status. You can now store database in local or roaming folder.
You can install via NuGet - Install-Package WinRT.DB

You can check out quick start guide here http://dotnetspeak.com/index.php/2012/04/update-to-winrt-database-project-2/

Last edited Apr 20 at 1:38 AM by SergeyBarskiy, version 22