removed .gitattribute file with text=auto problem
Commented out reference to EFProvider that's not supported by EF6.
Removed depreciated references to system.data.objects
Replaced depreciated EntityFunctions with DbFunctions