[英]workflow task summary throwing error specified cast is not valid using spmetal layer
I have created share point data access layer with spmetal, everything is works fine but when I try to query with task summary list through SPMETAL it throws error I tried several techniques to cast , directly use this Iqueryable list but as I try to access it, "it throws error specified cast is not valid" 我已经使用spmetal创建了共享点数据访问层,一切正常,但是当我尝试通过SPMETAL查询任务摘要列表时,它会引发错误,我尝试了多种方法来强制转换,直接使用此Iqueryable列表,但是当我尝试访问它时, “它抛出指定的强制转换错误无效”
Any help or clue why is throwing this error 任何帮助或线索为何引发此错误
Its solved by changing the types of event type to string and duration field with double . 通过将事件类型的类型更改为具有double的字符串和duration字段来解决。 that error was produced by SPMETAL wrong mapping while generating the layer form SharePoint.
该错误是由SPMETAL错误映射在生成图层表单SharePoint时产生的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.