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 8375207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:06:56+00:00 2026-06-09T15:06:56+00:00

I am trying to use the generic DbSet class. I have tried adding the

  • 0

I am trying to use the generic DbSet class. I have tried adding the following references so far to my solution because the MSDN documentation states that DbSet lives inside System.Data.Entity:

References

However, as shown below I still cannot add a reference to System.Data.Entity, the only suggestion intellisense has is EntityClient which does not contain DbSet:

Intellisense

Resharper/Intellisense is not giving me any other suggestions of namespaces I could possibly add.

I have tried cleaning and rebuilding my solution, and I am using the .Net Framework 4 full version (not the client version).

I have tried using NuGet to search for EntityFramework and have found one result which I have added to no avail as is show below:

Entity Framework added

What DLL file do I need to add to my solution to add a reference to System.Data.Entity and use the DbSet class?

Thanks

  • 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-09T15:06:58+00:00Added an answer on June 9, 2026 at 3:06 pm

    The same MSDN reference page that you mention says that you need to reference EntityFramework.dll in your project.

    Note that namespaces and assemblies are not the same thing. The following statement is a little over-simplified, but you can think of namespaces as residing inside (or becoming available by referencing) an assembly.

    So, once you’ve referenced the assembly, you will still need the using System.Data.Entity; directive.

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

Sidebar

Related Questions

I am trying to use Generic DataContract class so that I don't have to
I'm trying to use a generic class in a using statement but the compiler
I am trying to use Google's OAuth2 API. In their generic documentation, they mention
I have written a generic CSV file reader that I'm trying to use to
I'm trying to use XML documentation on the members of a class, and in
I'm trying to use a generic List as a property on a ServicedComponent class...
I'm trying to use a generic class as a Spring form backing bean, but
I'm trying to use a generic enum type in a C++/CLI helper class and
I'm trying to use this but getting a generic error at the lines following
I'm trying to re-use a Java generic collection I wrote, looks a lot like

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.