WCF DataServices (CTP2): There is a type mismatch between the client and the service

前端 未结 5 1319
半阙折子戏
半阙折子戏 2021-01-13 17:06

I\'m using WCF Dataservices CTP2 with Entity Framework 4.1. Now then I\'m trying to get any data through my datacontext I get this exception:

System.R

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-13 17:47

    I'd say that you're referencing another implementation of the Segmentation class than the service's. Check out the namespace of Segmentation in your CreateQuery<>() call and the namespace of the Segmentation class in your service.

提交回复
热议问题