public static ShortRegisterArray Empty()
        {
            var shortRegisterArray = new ShortRegisterArray()
            {
                shortRegisters = new List <ShortRegister>()
            };

            return(shortRegisterArray);
        }
        public static ShortRegisterArray Parse(SqlString stringToParse)
        {
            if (stringToParse.IsNull)
            {
                return(Null);
            }

            var parsedShortRegisterArray = new ShortRegisterArray()
            {
                shortRegisters = new List <ShortRegister>()
            };

            var parsedString = stringToParse.Value.Split("|".ToCharArray());

            for (var i = 0; parsedString.Length > i; i++)
            {
                parsedShortRegisterArray.ShortRegisters.Add(ShortRegister.Parse(parsedString[i]));
            }

            return(parsedShortRegisterArray);
        }