Exemple #1
0
        /// <summary>
        /// //判断是否能删除
        /// </summary>
        /// <returns>返回是否有关联的表</returns>
        public Result IsdeleteCollege()
        {
            string recordid = Context.Request["Recordid"].ToString();
            Result row      = Result.记录不存在;

            if (titrecordbll.IsDelete("T_Student", "proId", recordid) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (titrecordbll.IsDelete("T_Title", "proId", recordid) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            return(row);
        }