Two things:
1) You need a link (s using) to System.Data.Entitywhere it is defined Include:
using System.Data.Entity;
2) Your class must be marked publicand static, otherwise, you cannot insert an extension method into it:
public static class Extensions
{
Edit:
EntityFramework - , EntityFramework.
Nuget:
1.) (View | Other Windows | Package )
2.) Install-Package EntityFramework