Exemplo n.º 1
0
        /// <summary>
        /// query record in view model
        /// </summary>
        /// <param name="sqlFileName">sql file name</param>
        /// <param name="sqlId">sql id</param>
        /// <param name="pms">query parameter</param>
        /// <returns>view model result</returns>
        public virtual Dictionary <string, object> QueryRecord(string sqlFileName, string sqlId, Dictionary <string, object> pms)
        {
            IMainDal dal = new MainDal();

            return(dal.ReadRecordByPms(sqlFileName, sqlId, pms));
        }