Hi,
I have a model with some attributes and I am creating a new controller based on that model using entity framework but it throws me a error as: "There is no entity type EnquiryModel on DbContext ProjectName.Data.ApplicationDbContext"
I also tried to add my model into applicationDbcontext using :
public DbSet<EnquiryModel> EnquiryModel { get; set; }
Rebuild the solution , but it still give me the same error.
Any solution ?
Thanks in advance.