title: How do I call a Odata service operation from a client?
body: <p>My WCF Data Service includes this:</p>
  
  <pre><code>[WebGet]
  public MyClass GetClass() { return new MyClass(); }
  </code></pre>
  
  <p>And this works just fine when I call it through REST.</p>
  
  <p>However, I have a Service Reference in a Silverlight project and I want to call it. </p>
  
  <p>I do this:</p>
  
  <pre><code>var _Context = new DatabaseContainer(new Uri("http://localhost:1234/Service.svc/"));
  var _Results = new DataServiceCollection&lt;MyClass&gt;(_Context);
  var _Query = _Context. ???
  </code></pre>
  
  <p><strong>How do I access my GetClass() method?</strong></p>
  
  <p>Thanks.</p>