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

The Archive Base Latest Questions

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

I am learning MVC3 and EF with DB first approach. In some videos of

  • 0

I am learning MVC3 and EF with DB first approach.

In some videos of MVC3 with code first approach from Scafolding Options they choosed “controller with read write actions and views” and after selecting Model and Data Context classes some code was automatically generated.

In my working I have a separate class library which has EF model in it (please see blue selected area in diagrame) . Please guide me how to access that EF and its generated classes to use with controller with read write actions and views ?

EDIT
I am adding new Controller.
I am not getting the comments you mentioned in your picture.
I am getting some classes in Model Classes drop down but not my EF classes are there in list.
I have not done any refrencing to class library in my MVC project. Please guie me how and what where to do ?

enter image description here
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:23:21+00:00Added an answer on June 9, 2026 at 3:23 pm

    I believe you’re referring to MVC Scaffolding

    Install-Package MvcScaffolding
    

    If it shows No Model Classes availble, when you hover it will give you a more verbose description:

    enter image description here

    If you get this message, cleaning and rebuilding should fix your problem.

    Is your database project referenced by your main project? In your main project click references, add new reference – then in the projects tab select the name of the project with your edmx:

    enter image description here

    After that, clean and build!

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

Sidebar

Related Questions

So I am learning MVC3 and EF4. I tried the code first method but
Just started learning mvc3. I've built a fairly basic website (also using EF-Code-First if
Learning some VBA. So far, I've constructed this piece of code which should allow
I am beginner in MVC3 and still learning. I try to write an application
Learning the basics of XML for the first time from W3C tutorials. How are
I'm currently developing an app using ASP.NET MVC3 and Entity Framework 4.1 Code First
I'm learning ASP.NET MVC 3 with Entity Framework Code First. I'm following a tutorial
I am learning ASP.NET MVC3, and I just created a controller for my Model/Context.
this is i've tried so far, just learning from some blogs, i come to
I'm learning ASP.NET MVC3 and I'm now examining the user handling. My first problem

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.