/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public virtual void WriteData(EditSerializer editSerializer) { editSerializer.WriteUInt32(DataField.Id, m_Sequence); editSerializer.WriteDateTime(DataField.When, m_When); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public void WriteData(EditSerializer editSerializer) { editSerializer.WriteInternalId(DataField.Id, m_InternalId); editSerializer.WriteUInt32(DataField.Key, m_RawId); }