various hacks to get ef working with cards.
Merge pull request #37 from palmerhyde/XmlToEfMigration

various hacks to get ef working with cards.