title: Why is ASP.NET scaffolding template allowing an IEnumerable to access the property of individual items?
body: <p>A bit of a confusing question here. I used the default scaffolding template for an Index View and it is strongly typed to my model. However, if my model is Employee, the view is actully strongly typed to the generic Employee type of IEnumerable , not just the Employee class._</p>
  
  <p>In the default template for the table headers, the first argument of the Html helper method takes the lambda expression 'model => model.name' This doesn't make sense to me, because you would never be able to directly access the property of an individal item in a collection from the collection itself. It doesn't seem like it should even compile, is this correct?  How could that be explained?</p>