user3524244
user3524244

Reputation: 43

Telerik OpenAccess : Mapping for class is specified in file 'config' but the class could not be found

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

Answers (1)

seabass2020
seabass2020

Reputation: 1123

In my case, I was missing the Telerik.OpenAccess.Runtime reference

Upvotes: 0

Related Questions