/// <summary>
        /// 修改数据库中的值
        /// </summary>
        /// <param name="model">修改后的实体对象</param>
        /// <param name="proNames">修改了哪些属性名</param>
        /// <returns></returns>
        public int Modify(T model, params string[] proNames)
        {
            DbEntityEntry entry = EF.Entry <T>(model);

            entry.State = System.Data.Entity.EntityState.Unchanged;
            foreach (string s in proNames)
            {
                entry.Property(s).IsModified = true;
            }
            return(EF.SaveChanges());
        }