title: Do I need to call my domain service's context.SaveChanges after adding a new entity?
body: <p>I am building an application based on Ria Services.</p>
  
  <p>Amongst the default methods that were built by the Visual Studio Wizard, I can see the ones that should insert and persist new data. </p>
  
  <p>For example:</p>
  
  <pre><code>    public void InsertCustomer(Customer customer)
      {
          if ((customer.EntityState != EntityState.Detached))
          {
              this.ObjectContext.ObjectStateManager.ChangeObjectState(customer, EntityState.Added);
          }
          else
          {
              this.ObjectContext.Customers.AddObject(customer);
          }
      }
  </code></pre>
  
  <p>However, I don't see any this.ObjectContext.SaveChanges(), which I read should be invoked in order to insert the entity in the data store. ...do I need to modify these functions in order to persist the information? </p>
  
  <p>Thanks in advance,
  Cheers,
  Gianluca.</p>