示例#1
0
        /// <summary>
        /// 获取一般属性表名
        /// </summary>
        /// <returns></returns>
        public Dictionary <string, Type> GetGenAttrDict()
        {
            if (genAttrTBL.Count > 0)
            {
                return(genAttrTBL);
            }
            List <Type> list = GetGenAttrClass();

            foreach (Type r in list)
            {
                string tblName = ObjectCopy.GetTBLName(r);
                if (tblName != "")
                {
                    if (!genAttrTBL.ContainsKey(tblName))
                    {
                        genAttrTBL.Add(tblName, r);
                    }
                }
            }
            return(genAttrTBL);
        }