Migrated old SQL to entity framework objects