I don't really know the SQLite internals, but this is strictly about generics
...
Since AsyncTableQuery
is defined like this
public class AsyncTableQuery<T>
where T : new ()
{
...or just based on your error, you need to put the same constraint on your T
:
public class DBQuery<T> where T : new ()
If you're using a class or a method which has a
constrained generic parameter
- you need to do the same on your method (or a class, depending on where theT
is defined).