[英]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. 我在C#中有一个Windows服务,该服务正在使用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.
在文件“ config”中指定了类“ Store.Data.User”的映射,但找不到该类。 --> StoreModel/namespace[Store.Data]/class[User]
-> StoreModel /命名空间[Store.Data] / class [User]
I suspect the error is not related to the query itself, but with the repository/OpenAccess configuration. 我怀疑该错误与查询本身无关,但与存储库/ OpenAccess配置有关。
Does anyone have an insight into this? 有人对此有见识吗?
Thanks! 谢谢!
就我而言,我缺少Telerik.OpenAccess.Runtime参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.