示例#1
0
 public void Update(T entity)
 {
     grannyContext.Entry(entity).State = EntityState.Modified;
 }