/// <summary>
        /// String parser for ServiceCodeController
        /// </summary>
        /// <param name="reader">string reader</param>
        /// <returns>ServiceCodeController</returns>
        public static ServiceCode StringParser(StringReader reader)
        {
            string firstChar = reader.PeekString(1);

            //If the first char is not a numeric char then consider it a separator and the value null
            if (Regex.IsMatch(firstChar, @"\d") == false)
            {
                return(null);
            }
            else
            {
                string      strValue = reader.ReadString(3);
                ServiceCode value    = new ServiceCode(strValue);

                return(value);
            }
        }
 /// <summary>
 /// String formatter for ServiceCodeController
 /// </summary>
 /// <param name="obj">object to convert</param>
 /// <returns>Value of the property as string</returns>
 public static string StringFormatter(ServiceCode obj)
 {
     return(obj.Code);
 }