Hi folks, I've got a standard ASP.NET MVC form post.
eg.
<% using (Html.BeginForm<CommentController>(c => c.Create())) { %>
..
<% } %>
(and in the controller)
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(Comment comment)
{ .. }
Now, how can i make it so that i IGNORE certain values, like the ID
or CreatedOn
properties, that might exist in the Comment
object?
Is there a way i can define an exclusion/black list?