Esempio n. 1
0
        private void Add(string name, VistaDBType dataType, object val)
        {
            int len = this.parameters != null ? this.parameters.Length : 0;

            RemoteParameter[] newParameters = new RemoteParameter[len + 1];

            if (this.parameters != null)
            {
                this.parameters.CopyTo(newParameters, 0);
            }

            newParameters[len] = new RemoteParameter(name, dataType, val);
            this.parameters    = newParameters;
        }
		private void Add(string name, VistaDBType dataType, object val)
		{
			int len = this.parameters != null ? this.parameters.Length : 0;
			RemoteParameter[] newParameters = new RemoteParameter[len + 1];

			if(this.parameters != null)
				this.parameters.CopyTo(newParameters, 0);

			newParameters[len] = new RemoteParameter(name, dataType, val);
			this.parameters = newParameters;
		}