Esempio n. 1
0
        /// <summary>
        /// 返回一个Proc节
        /// </summary>
        /// <param name="procName"></param>
        /// <returns></returns>
        public ProcSection FromProc(string procName, IDictionary <string, object> parameters)
        {
            ProcSection section = new ProcSection(procName, dbProvider, this);

            return(section.AddParameters(parameters));
        }
Esempio n. 2
0
        /// <summary>
        /// 返回一个Proc节
        /// </summary>
        /// <param name="procName"></param>
        /// <returns></returns>
        public ProcSection FromProc(string procName, params SQLParameter[] parameters)
        {
            ProcSection section = new ProcSection(procName, dbProvider, this);

            return(section.AddParameters(parameters));
        }