我想使用 linq 语法更新我的数据库。我在我的 sqlite 数据库中有这样的更新
var dbpath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "Users.db");
using (var db = new SQLite.SQLiteConnection(dbpath))
{
db.Update(new Booking()
{
});
db.Commit();
db.Dispose();
db.Close();
}
我想通过简单的示例了解更新语法语法。谢谢