我正在使用ServiceStack Ormlite对数据库表进行部分更新.
我有一个模特:
public class Model
{
public int Id;
public int Property1;
public int Property2;
public int Property3;
}
Run Code Online (Sandbox Code Playgroud)
但我只想更新字段Property1和Property2.
有人知道怎么做这个吗?
谢谢.