ASP.NET MVC 2 - Binding To Abstract Model
问题 If i have the following strongly-typed view: <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<XXX.DomainModel.Core.Locations.Location>" %> Where Location is an abstract class. And i have the following Controller, which accepts a strongly-typed Model via a POST: [HttpPost] public ActionResult Index(Location model) I get a runtime error stating "Cannot Create Abstract Class Which of course makes sense. However - i'm not sure what the