我正在使用 Monotouch ( https://github.com/praeclarum/sqlite-net )的 SQLite ORM
我正在尝试发送多个参数,但未添加作为字符串的参数:
var items = db.Query<NameListItem>
(Select * from table where field=? and field2=?,"SomeString",123);
当我启用跟踪时,它会正确显示查询:
Select * from table where field=? and field2=?
0: SomeString
1: 123