Solved

Following MVC tutorial not working

Posted on 2011-02-15
3
1,195 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
  • 3
3 Comments
 

Author Comment

by:DistillingExperts
Comment Utility
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
Comment Utility
..and I don't have a class Contact, only a table.
0
 

Accepted Solution

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now