這是一個簡單的問題,但我無法在線找到答案。我有一個類,看起來像這樣: public class EquipmentItem : Item
{
public Status Status { get; set; }
public string Description { get; set; }
}
當我創建了一個強類型的視圖,並提供這個類,要求ASP.Net MVC自動進行
如何隱藏錯誤的,例如像這樣 You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near '\\\') as previousid,
(SELECT IFNULL(min(id),-1) F