获得ID的值 - GetISaveItemIntID

2017-02-19 13:34:12  访问(2099) 赞(0) 踩(0)


        /// <summary>
        /// 获得ID的值 - GetISaveItemIntID +
        /// </summary>
        /// <returns></returns>
        public int GetISaveItemIntID()
        {
            string _name = p_IDFieldName.ToLower();

            if (m_DictionaryISaveItem.ContainsKey(_name))
            {
                return int.Parse(m_DictionaryISaveItem[_name].theValue.ToString());
            }


            throw new Exception
                (
                    "方法:"
                    + MethodBase.GetCurrentMethod().ReflectedType.FullName
                    + " "
                    + MethodBase.GetCurrentMethod().ToString()
                    + " 发生异常:"
                    + "没有获得关键字的值。"
                );
        }


标签:获得ID的值 - GetISaveItemIntID 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)
 
  ┈全部┈  
 
(显示默认分类)