惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
V
V2EX
Jina AI
Jina AI
爱范儿
爱范儿
M
MIT News - Artificial intelligence
量子位
L
LangChain Blog
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
腾讯CDC
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss

博客园 - 帝之晓

Metabase里的 linked filters 使用 这个功能是怎么实现的 英语英语。我想要把你学的很牛逼。 PS快捷键大全 附加数据库错误 5102 如何在三个月内获得三年的工作经验(转) sql2005还原数据库 Nettiers的GridViewSearchPanel - 帝之晓 - 博客园 企业库的日志使用 常用的40个网站制作技巧(收藏整理)转 - 帝之晓 - 博客园 asp.net里的基础概念 符合.net准则的事件 BlogEngine数据库结构 XmlSerializer 序列化和反序列化 决定好好研究一些开源的系统 TimeTracker研究 .nettiers里的ServiceLayer和DomainModel 共享软件的十大破解工具 免费的css模板下载
EntityFramework 6.0 修改一个已经存在的对象
帝之晓 · 2016-03-19 · via 博客园 - 帝之晓

public void UpdateObj(someobject obj)
{

db.Entry(obj).State = EntityState.Modified;
db.SaveChanges();

}

posted on 2016-03-19 22:32  帝之晓  阅读(289)  评论(0)    收藏  举报

刷新页面返回顶部