Example #1
0
        public DataTable GetDataTable(string pSQL, CommandType pCmdType)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType);

            return(GetDataTable(dhp));
        }
Example #2
0
        public DataTable GetDataTable(string pSQL, CommandType pCmdType, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType, pArrParam);

            return(GetDataTable(dhp));
        }
Example #3
0
        public int Update(string pSQL, CommandType pCmdType, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType, pArrParam);

            return(Update(dhp));
        }
Example #4
0
        public DataTable GetDataTable(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(GetDataTable(dhp));
        }
Example #5
0
        public string First(string pSQL, CommandType pCmdType, IDataParameter[] pArrParam, string pReturn)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType, pArrParam);

            return(First(dhp, pReturn));
        }
Example #6
0
        public int Update(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(Update(dhp));
        }
Example #7
0
        public string First(string pSQL, string pReturn)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(First(dhp, pReturn));
        }
Example #8
0
        public string First(string pSQL, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pArrParam);

            return(First(dhp, string.Empty));
        }
Example #9
0
        /// <summary>
        /// 第一行第一列 可能为null
        /// </summary>
        /// <param name="pSQL">sql 语句</param>
        /// <param name="pCmdType">设置CommandType</param>
        /// <param name="pArrParam">IDataParameter 参数数组</param>
        /// <returns></returns>
        public object Scalar(string pSQL, CommandType pCmdType, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType, pArrParam);

            return(Scalar(dhp));
        }
Example #10
0
        public string First(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(First(dhp, string.Empty));
        }
Example #11
0
        public object Scalar(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(Scalar(dhp));
        }
Example #12
0
        public IDataReader Read(string pSQL, CommandType pCmdType, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pCmdType, pArrParam);

            return(Read(dhp));
        }
Example #13
0
        public IDataReader Read(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(Read(dhp));
        }
Example #14
0
        public DataSet GetDataSet(string pSQL, IDataParameter[] pArrParam)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL, pArrParam);

            return(GetDataSet(dhp));
        }
Example #15
0
        public DataSet GetDataSet(string pSQL)
        {
            IDbHelpParam dhp = new TransHelpParam(pSQL);

            return(GetDataSet(dhp));
        }