How to set default value for Sqlite.net without using sqlite raw statement/conn.execute()
A little late, but for those who got here looking for an answer:
public class ItemTaxes
{
[NotNull, Default(value: true)]
public bool IsTaxable { get; set; }
}
If the Default attribute isn't available in the version of SQLite-net that you're using, you can use autoproperties to assign a default like you normally would.
public class ItemTaxes
{
public bool IsTaxable { get; set; } = true;
}