ASP.net MVC CheckBoxFor casting error
I have a EF entity that is tied to a SQL table that contains a bit field called "Active". I generate the Edit code from the T4 template, and the page inherits from the EF entity. At the bottom of the page, it generated a CheckBoxFor like this: <%= Html.CheckBoxFor(model => model.Active) %> I get the wonderful red squiggly under mode...