コード例 #1
0
 /// <summary>
 /// Create XML element
 /// </summary>
 /// <returns>XML serialized element</returns>
 public XElement CreateElement()
 {
     return(new XElement("RelationshipModel", new XAttribute("Id", Id), new XAttribute("Name", Name), new XAttribute("LastModified", LastModified), new XElement("Source", Source.CreateElement()), new XElement("Destination", Destination.CreateElement())));
 }