Migrated Entity Framework to 6.10

Migrated  Entity Framework to 6.10, a fews of files updated.