角色数据库
它是一个适用于 Win8.1 和 WP8.1 的简单数据库管理器。
如何使用:
使用 (SampleDatabase db = new SampleDatabase()) { var isExists = await db.DatabaseExists(); 如果 (!isExists) { 等待 db.CreateDatabase(); myTextBlock.Text += "DB 创建" + System.Environment.NewLine; }
等待 db.InitializeTable(); //在使用表之前是必要的。 myTextBlock.Text += "Table [Book] Initialized" + System.Environment.NewLine;
var book1 = db.GetTable(); //或 var books1
2021-07-12 14:04:52
69KB
C#
1