Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Following MVC tutorial not working

Posted on 2011-02-15
3
Medium Priority
?
1,207 Views
Last Modified: 2013-12-17
I am receiving the following error in the ContactSet on the tutorial below:
Error      1      'ContactManager.Models.ContactManagerDBEntities' does not contain a definition for 'ContactSet' and no extension method 'ContactSet' accepting a first argument of type 'ContactManager.Models.ContactManagerDBEntities' could be found (are you missing a using directive or an assembly reference?)      D:\Projects\ContactManager\ContactManager\ContactManager\Controllers\HomeController.cs      18      35      ContactManager


http://www.asp.net/mvc/tutorials/iteration-1-create-the-application-cs
0
Comment
Question by:DistillingExperts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 

Author Comment

by:DistillingExperts
ID: 34898134
Instead of ContactSet I changed for Contacts. However, when it create the Index, it is not bringing the FirstName, LastName etc.
0
 

Author Comment

by:DistillingExperts
ID: 34898157
..and I don't have a class Contact, only a table.
0
 

Accepted Solution

by:
DistillingExperts earned 0 total points
ID: 34898298
Solved. It was missing for me to select "List" in View Content.
0

Featured Post

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question