For the full tutorial see: https://opendatadsl.atlassian.net/wiki/spaces/DOCUMENTAT/pages/335511553/Setting+up+a+custom+local+SQL+Server+data+loader ...
SQLite queries for initial creation or updates of database schemas are better organized into script files than embedded into code. This loader lets you easily load them at compile time.