title: C# mongodb driver 2.0 - How to upsert in a bulk operation?
body: <p>I migrated from 1.9 to 2.2 and <a href="http://mongodb.github.io/mongo-csharp-driver/2.0/getting_started/quick_tour/#bulk-writes" rel="noreferrer">reading the documentation</a> I was surprised to discover that is not possible to upsert during a bulk operation anymore, since operations don't allow options.</p>
  
  <pre><code>bulkOps.Add(new UpdateOneModel&lt;BsonDocument&gt;(filter, update));
  collection.BulkWrite(bulkOps);
  </code></pre>
  
  <p>Should be</p>
  
  <pre><code>options.isUpsert = true;
  bulkOps.Add(new UpdateOneModel&lt;BsonDocument&gt;(filter, update, options));
  collection.BulkWrite(bulkOps);
  </code></pre>
  
  <p>Is this work in progress, intended, or I'm missing something? Thank you.</p>