示例#1
0
        /// <summary>
        /// 读取数组长度
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public int ReadLength(string name)
        {
            var dtoList = _dto.GetList(name, false);

            if (dtoList == null)
            {
                return(0);
            }
            return(dtoList.Count);
        }