I’m using ServiceStack Ormlite to do partial update to a database table.
I have a model:
public class Model
{
public int Id;
public int Property1;
public int Property2;
public int Property3;
}
But I only want to update fields Property1, and Property2.
Does anybody know how to do this?
Thanks.
See ServiceStack’s OrmLite documentation for Update statements – they contain many different different examples of partial updates.