If you didn’t install this provider in GAC/machine.config before, or don’t want to install it there, you need to register it in web.config file:
Next step is to replace connection strings for databases you want to use with Sqlite:
Sergen doesn’t have reference to Sqlite provider, so if you want to use it to generate code, you must also register this provider with it.
Locate Sergen.exe, which is under a folder like packages/Serenity.CodeGenerator.1.8.6/tools and create a file named Sergen.exe.config
next to it with contents below:
Also copy System.Data.Sqlite.dll and its x86 and x64 folders under bin directory to same folder where Sergen.exe resides. Now Sergen will be able to generate code for your Sqlite tables.