public override void AddParameter(string name, int index)
 {
     Parameters[index] = new WSCommandTypeParameter()
     {
         Name = name, Value = ""
     };
 }
        public override string GetCommandParameterStringValue(string name)
        {
            WSCommandTypeParameter par = this.Parameters.FirstOrDefault(x => (x.Name ?? "").Equals(name, StringComparison.OrdinalIgnoreCase));

            if (par == null)
            {
                return("");
            }

            return(par.Value);
        }
        public override void SetCommandParameter(string name, bool value)
        {
            WSCommandTypeParameter par = this.Parameters.FirstOrDefault(x => (x.Name ?? "").Equals(name, StringComparison.OrdinalIgnoreCase));

            if (par == null)
            {
                throw new NotSupportedException();
            }

            par.Value = value.ToString();
        }
 public override void CreateParameters(int count)
 {
     Parameters = new WSCommandTypeParameter[count];
 }