Question

I'm working on a SPA using the Hot Towel Template. I'm currently facing some issues

I'm getting an error on the datacontext.js

[services/datacontext]

Error retrieving data. unable to locate property: CompanyName on entityType: Company:#Atlas.Web.Models

But, the Company Model has a property called CompanyName

Thank in advance for your help guys !

Was it helpful?

Solution

The solution was very simple - got it from John Papa on the Pluralsight SPA Jump Start Discussion Forum!

"...when the properties come to the client they are translated to camelCase. try companyName..."

Sorted!

Thanks @JohnPapa

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top