Reputation: 43
I have a windows service, in C#, that is using Telerik Open Access. When I call the following code (query), I get the error below.
Code
var updateRecords =
_context.Contracts.First(
s => s.ContractId == model.ContractId);
Error
Mapping for class 'Store.Data.User' is specified in file 'config' but the class could not be found. --> StoreModel/namespace[Store.Data]/class[User]
I suspect the error is not related to the query itself, but with the repository/OpenAccess configuration.
Does anyone have an insight into this?
Thanks!
Upvotes: 0
Views: 218
Reputation: 1123
In my case, I was missing the Telerik.OpenAccess.Runtime reference
Upvotes: 0