Entity Framework SaveChanges does not work
<p>I have this piece of code but it does not work, and I do not see where id the problem.</p>

<p>No exception is caught.</p>

<p>I'm working with Entity Framework 4. The <code>SaveChanges</code> call does not seem do anything in the database.</p>

<pre><code>try
{
    Demande_Rage_Animale editdemande = DemandeRageAnimaleDAO.First(s =&gt; s.ID == demandebean.ID);

    //frombeanTodemande(demandebean, editdemande);
    editdemande.num_rapport = "111111";

    //editdemande.EntityState.
    DemandeRageAnimaleDAO.SaveChanges();
}
catch (Exception ex)
{
    Logger.Error("==&gt; Modifier_demande_RageAnimale : " + ex.InnerException);
}
</code></pre>