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

            CustomerContactInfoModel customercontactinfo = new CustomerContactInfoModel();
            DataTable dt = DbUtil.Current.RetrieveMultiple(customercontactinfo, pc, obc);

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                customercontactinfo = new CustomerContactInfoModel();
                customercontactinfo.ConvertFrom(dt, i);
                customercontactinfos.Add(customercontactinfo);
            }

            return(customercontactinfos);
        }
        /// <summary>
        /// 根据主键获取实体
        /// </summary>
        /// <param name="contactid"></param>
        /// <returns>实体</returns>
        public CustomerContactInfoModel Retrieve(string contactid)
        {
            CustomerContactInfoModel customercontactinfo = new CustomerContactInfoModel();

            customercontactinfo.ContactId = contactid;

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

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

            customercontactinfo.ConvertFrom(dt);

            return(customercontactinfo);
        }