// 公用静态方法,删除一条记录 DeleteGongShiXingZhi
        public static bool DeleteEntity(GongShiXingZhiBusEntity obj)
        {
            if (obj == null || obj.IsEmpty)
            {
                return(false);
            }
            GongShiXingZhiDelete exec = new GongShiXingZhiDelete();

            try
            {
                exec.ReceiveParameter(obj);
                exec.ExecNoQuery();
                return(true);
            }
            catch (Exception ex)
            {
                //throw ex;
                return(false);
            }
            finally
            {
                obj = null;
            }
        }