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

218 Views Asked by At

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!

1

There are 1 best solutions below

0
seabass2020 On

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