Hello,
namespace MvC_Demo1.Models
{
[Table("Ëmployee")]
public class Employee_Details
{
public int id { get; set; }
public string Name { get; set; }
public string Designation { get; set; }
}
}
Check the fields id, Name, Designation must be same as column name in your table.
If it mismatched, then you will get error like this..!
So change the correct field names according to table column names