Esempio n. 1
0
//	/// <summary>
//	/// Parse only method. Parses and adds all entities found in the given node and adds them to the given
//	/// list.
//	/// </summary>
//	/// <param name="node"></param>
//	/// <param name="taskElements"></param>
//	public static void ParseFromXml(XmlNode root, IList elements) {
//	    if (root != null && elements != null) {
//		XmlNodeList nodes = root.SelectNodes("parameters/parameter");
//		foreach (XmlNode node in nodes) {
//		    ParameterElement element = new ParameterElement();
//		    element.Name = GetAttributeValue(node, NAME, element.Name);
//		    element.Value = GetAttributeValue(node, VALUE, element.Value);
//		    elements.Add(element);
//		}
//	    }
//	}

        public override void Validate(RootElement root)
        {
            // No validation necessary.
        }
 public abstract void Validate(RootElement root);
Esempio n. 3
0
 public override void Validate(RootElement root)
 {
 }
 public override void Validate(RootElement root)
 {
     // Capitalize sql type name ?
     // Avoid duplicate types.
 }