/// <summary>
        /// 添加删除按钮
        /// 根据增删查改的控制器自动生成,各个参数如不指定则使用默认值
        /// </summary>
        /// <typeparam name="TCrudController">控制器类型</typeparam>
        public static void AddDeleteActionFor <TCrudController>(
            this AjaxTableActionColumn column,
            string name          = null, string buttonClass      = null, string iconClass = null,
            string titleTemplate = null, string urlTemplate      = null,
            string primaryKey    = null, object dialogParameters = null)
            where TCrudController : class, ICrudController, new()
        {
            var app = new TCrudController();

            column.AddDeleteAction(app.EntityTypeName,
                                   app.BatchUrl + "?action=delete", name, buttonClass, iconClass,
                                   titleTemplate, urlTemplate, primaryKey, dialogParameters);
        }