/// <summary> /// Default constructor /// </summary> public Tire() { base.SameAs = new List <string>(); SameAs.Add("http://en.wikipedia.org/wiki/Tire"); SameAs.Add("http://www.1010tires.com/About/Tire-Tech"); //Properties = new List<Property>(); //Properties.Add(new Property() { Name = "Speed Rating" }); }
/// <summary> /// Default constructor /// </summary> public Tire() { base.SameAs = new List <string>(); SameAs.Add("http://en.wikipedia.org/wiki/Tire"); SameAs.Add("http://www.1010tires.com/About/Tire-Tech"); ExternalExtensions = new List <Property>() { new Property() { Name = "auto", Description = "www.1010Tires.com", } }; }
} // ScAddCSCnote // ****************************************************************************** // ***** CONCEPT RELATIONSHIPS // ****************************************************************************** public void ScAddCSCsameAs(string conceptElementId, SameAs sameAs) // Code History: // 2010-12-13 mws { string parentXPath = "/nar:" + RootElemName + "/nar:conceptSet/nar:concept[@id='" + conceptElementId + "']"; XmlNode parentXN = XmlDoc.SelectSingleNode(parentXPath, NsMngr); if (parentXN == null) { AddCSconcept(conceptElementId); } XmlElement newXElement = XmlDoc.CreateElement("sameAs", G2NsCs); NarProperty2XmlElement(sameAs, newXElement); AddPropertyToParent(parentXPath, NameSeqConcept, newXElement); } // ScAddCSCsameAs
/// <summary> /// Default constructor /// </summary> public Wheel() { base.SameAs = new List <string>(); SameAs.Add("http://en.wikipedia.org/wiki/Wheel"); SameAs.Add("http://www.1010tires.com/About/Wheel-Tech"); }