static public IDisposable Lock(this SQLiteConnectionWithLock connection) { var lockMethod = connection.GetType().GetTypeInfo().GetDeclaredMethod("Lock"); return((IDisposable)lockMethod.Invoke(connection, null)); }
static public IDisposable Lock(this SQLiteConnectionWithLock connection) { var lockMethod = connection.GetType().GetTypeInfo().GetDeclaredMethod("Lock"); return((IDisposable)lockMethod.Invoke(connection, null)); }