/// <summary>
        /// 根据条件获取实体集合
        /// </summary>
        /// <param name="pc">pc</param>
        /// <param name="obc">obc</param>
        /// <returns>实体</returns>
        public List <CustomDataInfoModel> RetrieveMultiple(ParameterCollection pc, OrderByCollection obc)
        {
            List <CustomDataInfoModel> customdatainfos = new List <CustomDataInfoModel>();

            CustomDataInfoModel customdatainfo = new CustomDataInfoModel();
            DataTable           dt             = DbUtil.Current.RetrieveMultiple(customdatainfo, pc, obc);

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                customdatainfo = new CustomDataInfoModel();
                customdatainfo.ConvertFrom(dt, i);
                customdatainfos.Add(customdatainfo);
            }

            return(customdatainfos);
        }
        /// <summary>
        /// 根据主键获取实体
        /// </summary>
        /// <param name="dataid"></param>
        /// <returns>实体</returns>
        public CustomDataInfoModel Retrieve(string dataid)
        {
            CustomDataInfoModel customdatainfo = new CustomDataInfoModel();

            customdatainfo.DataId = dataid;

            DataTable dt = DbUtil.Current.Retrieve(customdatainfo);

            if (dt.Rows.Count < 1)
            {
                return(null);
            }

            customdatainfo.ConvertFrom(dt);

            return(customdatainfo);
        }