title: XML serialization errors when trying to serialize Entity Framework objects
body: <p>I have entities that I am getting via Entity Framework. I'm using Code-First so they're POCOs. When I try to XML Serialize them using XmlSerializer, I get the following error:</p>
  
  <blockquote>
    <p>The type
    System.Data.Entity.DynamicProxies.Song_C59F4614EED1B7373D79AAB4E7263036C9CF6543274A9D62A9D8494FB01F2127
    was not expected. Use the XmlInclude
    or SoapInclude attribute to specify
    types that are not known statically.</p>
  </blockquote>
  
  <p>Anybody got any ideas on how to get around this (short of creating a whole new object)?</p>