It turns out I had not resolved myearlier problem. I am using MVC and am getting this error, this used to work last year, and I've checked all my reference versions since I've moved to LLBL V3.
Error 1 foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public definition for 'GetEnumerator' c:\Projects\glossary-mvc\Index.aspx
for reference the index.aspx line in question is this
<% foreach (var item in Model) { %>
and I have done a google on this and I have the MVC ASPX page set up correctly as follows:
<%@ Page Title=""
Language="C#"
MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<IEnumerable<glossaryDB.EntityClasses.AssociationTypeEntity>>"
%>
So I went looking for the GetEnumerator for my EntityClass and I can't see one, was this removed in V3 or moved?
Suggestions ?