Open mshami85 opened 6 years ago
@mshami85 I'm getting this error suddenly. The insert was working fine at some point, but something I've changed has broken it. The problem I see is that we cannot see what SQL was executed. Why doesn't exception expose the insert statement so we've got any idea of what went wrong?
I'm seeing this same issue as well... Super simple code
var num = conn.Insert(item);
When I debug through decompiled source it is detecting a value for T of "object" and returning a table name of Objects as where to store the item. When I'm debugging I clearly see the type of the object as, in my case, BadActor.
Environment
Hi I've noticed that when making superclass as DAL containing CRUD operation with SQLite it always give this error the code is like that
and my classes looks like that
using the code like this will result SQL logic error near ")": syntax error
BUT when Insert method dragged to [Test] class it works perfectly