I was happily using RIA Services JULY 09 version and using a ServiceOperation for a method which takes some parameters and returns Entity.
[ServiceOperation] public Entity TestMethod(string param1, string param2, bool param3) { // do something here }
But as soon as i UPGRADED to WCF RIA services, I had to change [ServiceOperation] to [Invoke], but now I am getting a compilation error that Entity can not be returned for an Invoke Operation. I searched here and there and found out that for VS2008 it does not work but for VS 2010 it still works. I need to know if there's a workaround to do this for VS2008. I don't want this method to have deferred execution like query methods.