Info
Version: | 0.7.0 |
Author(s): | Sergey Barskiy |
Last Update: | Saturday, November 17, 2012 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://winrtdatabase.codeplex.com/ |
NuGet Url: | https://www.nuget.org/packages/WinRT.DB |
Install
Install-Package WinRT.DB
dotnet add package WinRT.DB
paket add WinRT.DB
WinRT.DB Download (Unzip the "nupkg" after downloading)
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. As of version 0.9.1.0 it supports data binding to list based controls, such as ListBox.
As of version 0.5 IsBusy property is added that 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.