Migrated db to local DB, had to change to EF6 and change some code for it