//GJ: Patch /// <param name="localName">the localname of the element</param> /// <param name="input">the value of the element</param> /// <param name="required">boolean that determines if input cannot be null</param> protected void WriteAttribute(string localName, DBBool input, bool required) { if (!input.IsNull) { writer.WriteAttributeString(localName, XmlConvert.ToString(input.IsTrue)); } else if (required) { throw new ArgumentException(localName + " cannot be null."); } }
//GJ: Patch /// <param name="localName">the localname of the element</param> /// <param name="input">the value of the element</param> /// <param name="required">boolean that determines if input cannot be null</param> protected void WriteAttribute(string localName, DBBool input, bool required) { if (!input.IsNull) writer.WriteAttributeString(localName, XmlConvert.ToString(input.IsTrue)); else if (required) throw new ArgumentException(localName + " cannot be null."); }