开发者

Return an EF4.1 entity object from a WCF Method

开发者 https://www.devze.com 2023-04-04 23:57 出处:网络
Actually, I can create a POCO Object, fill this one with data and return it to my WCF Method and it works.

Actually, I can create a POCO Object, fill this one with data and return it to my WCF Method and it works.

But if I try to get an entity object and to return this one, it fails.

The only solution I found actually is to create an object and to fill this one with data got from my entity.

So, is it possible to directly return an 开发者_如何学编程entity object to a WCF method?

0

精彩评论

暂无评论...
验证码 换一张
取 消