I have applied all the things but the problem is that only Entity framework 6.5.1 is latest version and others versions are Deprecated still I ma facing the same error System.ArgumentNullException: 'Value cannot be null. Parameter name: entitySet'