Exemple #1
0
 public DataSet List(string pstrTableName)
 {
     try
     {
         sys_TableFieldDS ds = new sys_TableFieldDS();
         return(ds.List(pstrTableName));
     }
     catch (PCSDBException ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get all data from sys_TableGroup
        ///    </Description>
        ///    <Inputs>
        ///
        ///    </Inputs>
        ///    <Outputs>
        ///       DataSet
        ///    </Outputs>
        ///    <Returns>
        ///       DataSet
        ///    </Returns>
        ///    <Authors>
        ///       Hoang Trung Son - iSphere software
        ///    </Authors>
        ///    <History>
        ///       14-Dec-2004
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public DataSet List(int pintTableID)
        {
            try
            {
                sys_TableFieldDS ds = new sys_TableFieldDS();
                return(ds.List(pintTableID));
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
        }
Exemple #3
0
        public DataSet getFieldList(string pstrTableOrViewName)
        {
            sys_TableFieldDS objTableFieldDS = new sys_TableFieldDS();

            try
            {
                DataSet dstFieldList = objTableFieldDS.List(pstrTableOrViewName);
                return(dstFieldList);
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
        }
Exemple #4
0
        public DataSet getFieldList(int pintTableID)
        {
            sys_TableFieldDS objTableFieldDS = new sys_TableFieldDS();

            try
            {
                DataSet dstFieldList = objTableFieldDS.List(pintTableID);
                return(dstFieldList);
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
        }
Exemple #5
0
        //**************************************************************************
        ///    <Description>
        ///       Return the list of Fields from database
        ///    </Description>
        ///    <Inputs>
        ///       Null
        ///    </Inputs>
        ///    <Outputs>
        ///       DataSet
        ///    </Outputs>
        ///    <Returns>
        ///
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///       07-Jan-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************


        public DataSet getFieldList(int pintTableID)
        {
            sys_TableFieldDS objTableFieldDS = new sys_TableFieldDS();

            return(objTableFieldDS.List(pintTableID));
        }