title: MVVM subproperty change detection
body: <p>My problem is as follows:</p>
  
  <p>I am working with MVVM pattern and I would like to know how to detect changes of subproperties.</p>
  
  <p>I have a textbox:</p>
  
  <pre><code>&lt;TextBox Name="Descripcion" Text="{Binding AccionActual.Descripcion,Mode=TwoWay}" /&gt;
  </code></pre>
  
  <p>In the ViewModel I have the property:</p>
  
  <pre><code>Accion _accionActual;
  public Accion AccionActual
      {
          get { return _accionActual; }
          set
          {
               _accionActual = value;
               RaisePropertyChanged("AccionActual");
          }
      }
  </code></pre>
  
  <p>The Accion entity definition is:</p>
  
  <pre><code>public partial class Accion : Entity
      {
          public Accion()
          {
  
              this.AccionesDocumentos = new HashSet&lt;AccionDocumento&gt;();
  
          }
  
          public int IdAccion { get; set; }
          public int IdEmpleado { get; set; }
          public string Descripcion { get; set; }
          public string DescripcionDetalle { get; set; }
          public bool Finalizada { get; set; }
          public Nullable&lt;int&gt; IdExpediente { get; set; }
          public Nullable&lt;int&gt; IdOrdenTrabajo { get; set; }
          public bool Facturable { get; set; }
          public Nullable&lt;short&gt; GestComAlbaranAño { get; set; }
          public Nullable&lt;short&gt; GestComAlbaranEmpresa { get; set; }
          public Nullable&lt;int&gt; GestComAlbaranNumero { get; set; }
          public bool Facturado { get; set; }
          public bool ComputarHorasACliente { get; set; }
          public string DescripcionInterna { get; set; }
  
          public virtual Aplicacion Aplicacione { get; set; }
          public virtual AplicacionModulo AplicacionesModulo { get; set; }
          public virtual Cliente Cliente { get; set; }
          public virtual ClienteContacto ClientesContacto { get; set; }
          public virtual Empleado Empleado { get; set; }
          public virtual Expediente Expediente { get; set; }
          public virtual OrdenTrabajo OrdenesTrabajo { get; set; }
          public virtual ICollection&lt;AccionDocumento&gt; AccionesDocumentos { get; set; }
  
  
      }
  </code></pre>
  
  <p>I could create in the ViewModel a property for each of the properties of Accion, but there any way to receive the changes without having to create a property for each of the properties of Accion?</p>