I'm developing an ASP.NET Web API application using VS 2015 and EF 6.1.3. It retrieves some data from an external SQL database and all worked as expected in my local machine. After published this application into Azure API App as well as enable the Application Insights for that. then I see the App map, in that I receive the following EF failed dependency error:
Invalid column name 'CreatedOn'.
No Database or code changes were made – before published it into azure: whatever the code runs in my local machine same code will publish it into azure. And I have no CreatedOn property in my entities and no such field in the database and I don't need it and don't want it in any case.
Before posting this question here, I search in google and find out some links but I am not satisfied with those answers.
CreatedOn column in Entity Framework 6
Invalid column name 'CreatedOn'
Entity Framework 4.3. Invalid column name 'CreatedOn'
Can you please tell me how to resolve this issue as soon as possible .