An error occurred while executing the command definition. See the inner exception for details

前端 未结 9 1765
攒了一身酷
攒了一身酷 2020-12-15 03:07

In my mvc asp.net application, I am getting an error in edit function : in given code

public ActionResult Edit(int id)
{

      var res = (from r in objeEnti         


        
9条回答
  •  独厮守ぢ
    2020-12-15 03:23

    After spending hours, I found that I missed 's' letter in table name

    It was [Table("Employee")] instead of [Table("Employees")]

提交回复
热议问题