Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8191023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:49:26+00:00 2026-06-07T03:49:26+00:00

I am working on a c# asp.net MVC project.it was given to me as

  • 0

I am working on a c# asp.net MVC project.it was given to me as a plain old asp.net project which I upgraded to MVC 3. Normally I use vb.net for my projects but this was handed to me as a c# project. In all my projects I create a base repository that uses generics and can handle almost all basic situations, the table it quotes is represented by a member variable of the type IDbSet in the System.Data.Entity namespace. This has always worked fine in my vb projects. In this project I am getting a compile error stating that the type is not recognized and asking if I am missing a using directive or assembly reference.

When I try to define the variable explicitly specifying the namespace like so:

protected readonly System.Data.Entity.IDbSet mObjectSet;

I still get the error, I get intellisence after System. and after Data. but once I type Entity. I get nothing. I have tried cleaning and rebuilding, restarting visual studio, restarting my computer. And there doesn’t seem to be a single related issue on google. Any help is greatly appreciated!

Edit:

I should have mentioned that I have a reference to version 4.0.0.0 of System.Data.Entity already.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:49:28+00:00Added an answer on June 7, 2026 at 3:49 am

    IDbSet interface lives in EntityFramework.dll assembly (not in System.Data.Entity.dll assembly, be attentive!). Just add reference to it (References folder in project tree, then right click and choose Add reference or use NuGet package manager, if you’ve already installed it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an ASP.NET MVC project which uses the MarkdownDeep Editor to add
I'm working on an ASP.NET MVC 2 / .NET 3.5 project which includes SSRS
I am working on an ASP.NET MVC project which allows users to construct arbitrarily
I am working with an ASP.NET MVC project which was originally started from the
I'm working on an ASP.Net MVC 3 project, which needs localized error messages from
I am currently working on a ASP.NET MVC 3 project in which I have
I am currently working on a ASP.NET MVC 3 project in which I need
I have set up an ASP.NET MVC project, and everything is working great, but
I am working on an asp.net MVC 3 project as a team member. This
I'm working on a few ASP.NET MVC projects which all require database functionality. Unfortunately,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.