/// <summary> /// Assign the administrative values to the other record. /// </summary> /// <param name="other"></param> public void AssignTo(AdvanceCreateModifyInfo other) { other.CreatedAt = new DateTime(this.CreatedAt.Ticks); other.CreatedBy = this.CreatedBy; other.ModifiedAt = new DateTime(this.ModifiedAt.Ticks); other.ModifiedBy = this.ModifiedBy; }
/// <summary> /// Fills object's xml /// </summary> /// <param name="node">Empty node for the object with name "tagname"</param> protected override void FillXmlElement(XmlElement node) { AddAttribute(node, "keystore", this.KeyStore); AddAttribute(node, "keyalias", this.KeyAlias); AdvanceCreateModifyInfo.SetPassword(node, "password", this.keyPassword); }
/// <summary> /// Fill object data from xml node /// </summary> /// <param name="source">Source Xml</param> protected override void LoadFromXmlNode(XmlNode source) { this.KeyStore = GetAttribute(source, "keystore", null); this.KeyAlias = GetAttribute(source, "keyalias", null); this.keyPassword = AdvanceCreateModifyInfo.GetPassword(source, "password"); }