Ejemplo n.º 1
0
        /// <summary>
        /// 删除tb_test数据
        /// </summary>
        /// <param name="tbName"></param>
        /// <param name="dataID"></param>
        /// <returns></returns>
        public bool TestDel(string tbName, object dataID)
        {
            string sql = "delete from " + tbName + " where test_id=" + MySqlHelper.SqlFilters(dataID.ToString()) + "";

            return(baseDal.DapperDel(sql));
        }