嘿,目前我不知道官方如何支持它,但是,有人报告成功使用vici coolStorage与monodroid。 我已经能够将程序集放到我的项目中并进行编译,但是当我尝试使用它们时,某些类会抛出编译时错误。特别是在尝试连接时,例如website.上的monoTouch示例。 使用Vici酷存储与monodroid
string dbName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "mydb.db3");
// The following line will tell CoolStorage where the database is,
// create it if it does not exist, and call a delegate which
// creates the necessary tables (only if the database file was
// created new)
CSConfig.SetDB(dbName, true,() => {
CSDatabase.ExecuteNonQuery(@"CREATE TABLE person
(PersonID INTEGER PRIMARY KEY AUTOINCREMENT,
Name TEXT(50) NOT NULL,
DateOfBirth TEXT(30) NULL)");
});
我得到尝试使用 CSConfig的方法时,没有智能感知,当我尝试到3个ARGS传递给CSConfig.SetDB()我得到ARGS错误的无效号码。
祝贺并再次感谢。我没有意识到你是那个杰克大声笑 – Terrance