I got the following error while running the application, later I found a solution for that. This is due the partial class properties are not found in the main class.
I removed the column field’s likesCount and OutputHtml from the table and updating the model using entity framework. But I haven’t removed the properties from the partial class.
I removed the unwanted properties likesCount and OutputHtml from the partial class. The problem was resolved and working fine.