I am using EF4 within a MVC3 application and I was looking for a way to view all my contacts within a given workgroup. In the controller I specified:
var wg
I was also facing this issue and resolved it in asp.net core 3.0 project by adding the following reference:
using Microsoft.EntityFrameworkCore;