You should be able to work it out by looking at the code samples here... http://blogs.msdn.com/b/astoriateam/archive/2011/10/17/actions-in-wcf-data-services.aspx
Nothing is exactly what you want, but from there you should be pretty close.
You should be able to work it out by looking at the code samples here... http://blogs.msdn.com/b/astoriateam/archive/2011/10/17/actions-in-wcf-data-services.aspx
Nothing is exactly what you want, but from there you should be pretty close.