I added my database and table to the project with Ado.net EntityFramework wizard.
All necessary dll’s loads up. But I can’t see/reach my table’s fields( fields like id – name – creationDate etc. ) Here is the code;
using CampaignManager.Database;
namespace CampaignManager.CampignController
{
public class CampignController
{
public void UpdateCampaignWithCampaignId(int campaignId, Campaign campaign)
{
using (CampaignEntities db = new CampaignEntities())
{
//db.CampaignEntities.Where(item => item.)
//Campaign gettingCampaign = (from entry in db.Campaign where entry. == campaignId select entries);
}
}
....
Here is the pic | EntityFramework – I can’t see my table’s coloumn names after dots – on questionmarks;

I already tried adding entity framework with nu-get manager.
Close and reopen visual studio etc.
Thanks for your help.
try adding using statements: