Is there any ways to detect differences between model and LiteDb?
For example.
[Table('table')]
public class Table
{
public int Id { get; set; }
public string Name { get; set; }
}
And liteDb has table with the same columns.
I wanna add a new property into my model
[Table('table')]
public class Table
{
public int Id { get; set; }
public string Name { get; set; }
public string NewCol { get; set; }
}
How can I detect that NewCol is recently added into model and there no equal column into LiteDb table