Classes map to tables, so why write both? Let Entity Framework do the work for you.
Source code available at: https://github.com/JasperKent/Entity-...
The Visual Studio plug-in for view SQLite is available at: https://marketplace.visualstudio.com/...