Migrate to Sqlite from SQL Server CE. Change materialization implementation