创建新客户时如何排除多个列?另一列是创建记录的日期 - 称为 customer_dt。
public ActionResult Create([Bind(Exclude = "customer_id")] Customer customer)
{
/* Do something here ... */
}
创建新客户时如何排除多个列?另一列是创建记录的日期 - 称为 customer_dt。
public ActionResult Create([Bind(Exclude = "customer_id")] Customer customer)
{
/* Do something here ... */
}