Esempio n. 1
0
        /// <summary>
        /// delete model
        /// </summary>
        /// <typeparam name="T">model type</typeparam>
        /// <param name="pms">query parameter</param>
        /// <returns>delete model quantity</returns>
        public virtual int DeleteModelByPms <T>(Dictionary <string, object> pms) where T : class
        {
            IMainDal dal = new MainDal();

            return(dal.DeleteByPms(typeof(T).Name, pms));
        }