摘要:
刚用EF4.1的时候在MSDN上接触了通用的Update()方法。如:public virtual void Update(TEntity entityToUpdate){if (context.Entry(entityToUpdate).State == EntityState.Detached) dbSet.Attach(entityToUpdate); c... 阅读全文
posted @ 2011-12-22 20:51
阳春sin
阅读(846)
评论(0)
推荐(0)
浙公网安备 33010602011771号