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?
精彩评论