public object Clone()
 {
     DataOperationParameter parm = new DataOperationParameter();
     parm.DbType = this.DbType;
     parm.Direction = this.Direction;
     parm.Name = this.Name;
     parm.Size = this.Size;
     return parm;
 }
Ejemplo n.º 2
0
        public object Clone()
        {
            DataOperationParameter parm = new DataOperationParameter();

            parm.DbType    = this.DbType;
            parm.Direction = this.Direction;
            parm.Name      = this.Name;
            parm.Size      = this.Size;
            return(parm);
        }
Ejemplo n.º 3
0
        public object Clone()
        {
            if (this != null)
            {
                DataOperationsParametersList list = new DataOperationsParametersList( );
                if (ParameterList != null && ParameterList.Length > 0)
                {
                    DataOperationParameter[] parms = new DataOperationParameter[ParameterList.Length];
                    for (int index = 0; index < this.ParameterList.Length; index++)
                    {
                        parms[index] = (DataOperationParameter)ParameterList[index].Clone( );
                    }

                    list.ParameterList = (DataOperationParameter[])this.ParameterList.Clone( );
                }
                return(list);
            }
            return(null);
        }
        public object Clone()
        {
            if ( this != null )
            {
                DataOperationsParametersList list = new DataOperationsParametersList( );
                if ( ParameterList != null && ParameterList.Length > 0 )
                {
                    DataOperationParameter[] parms = new DataOperationParameter[ParameterList.Length];
                    for ( int index = 0 ; index < this.ParameterList.Length ; index++ )
                    {
                        parms[index] = (DataOperationParameter)ParameterList[index].Clone( );
                    }

                    list.ParameterList = (DataOperationParameter[])this.ParameterList.Clone( );
                }
                return list;
            }
            return null;
        }