title: How to use default CommandButtonsVisibility with Dataform, WCF RIA and POCO Entites?
body: <p>I have a Silverlight project (in VB), which uses a (WCF RIA) Domain Service, which uses POCO Entities. I'm displaying the data with a DataForm. My Domain Service has InsertUser, UpdateUser, DeleteUser-methods (correctly) specified. CommandButtonsVisibility is not set (so I guess it has default values).</p>
  
  <p>However, the Commit-Button is not visible (it's not only disabled, it's not even there).  When I set <code>CommandButtonsVisibility=All</code> I can use the edit button and it is working (changes are saved in db). I would like to use the default behavior though.</p>
  
  <p>I recognized the DataForm automatically shows or hides the buttons if the CRUD-methods are written or not written in the Domain Service (I tested it with my Delete-methods).</p>
  
  <p>What am I doing wrong, are my Update-methods not defined correctly? This is how they look like:</p>
  
  <pre><code>Public Sub UpdateUser(ByVal user As User)
       '... update the user
  End Sub
  </code></pre>
  
  <p>For the C#-users:</p>
  
  <pre><code>public void UpdateUser(User user)
       //... update the user
  End Sub
  </code></pre>