public void Persist(StatePersister persister) { persister.PersistAsciiString(ref Name); persister.PersistObjectID(ref ObjectId); }