title: About EntityFramework AsNoTracking
body: <p>I am using EntityFramework v6.1.2.</p>
  
  <p>I read some articles and know about <code>AsNoTracking</code> extension.</p>
  
  <p>When <code>AsNoTracking</code> is called, it means that if the entity is not attached, the context and the entity updated "<em>should fail</em>".</p>
  
  <p>But I have tried and updated successfully, my code is in below: </p>
  
  <pre><code>private readonly DemoObjectContext _objectContext = new DemoObjectContext();
  var order = _objectContext.Orders.AsNoTracking().FirstOrDefault(x =&gt; x.Id == 1);(1 is the primary key)
  
  order.OrderStatus = OrderStatus.Processing; // change the orderstatus
                  //_objectContext.Set&lt;Order&gt;().Attach(order);
                  _objectContext.Entry(order).State = EntityState.Modified;
                  _objectContext.SaveChanges();
  </code></pre>
  
  <p>Is something wrong or did <em>EntityFramework(6.1.2)</em> changed something?</p>
  
  <p>Please help me</p>