I'm trying to get my head around implementing the IXmlSerializable interface. The background on this (and feel free to skip it) is that on a project I'm working on I used NHibernate for persistence.