title: Binary is not a valid representation for an ObjectIdSerializer
body: <p>I'm trying to set the ObjectId from my TestObject class. The only problem is I keep getting exceptions and I have no way of debugging this serialization process.</p>
  
  <p>My MongoDB:</p>
  
  <pre><code>{
      "_id" : LUUID("964c87a0-bf8a-1f4e-be85-7aadb5315adb")
  }
  </code></pre>
  
  <blockquote>
    <p>An error has occurred while resolving 'MongoDataSource' data source: An error occurred while invaking data retrieval method.</p>
    
    <p>--- InnerException ---</p>
    
    <p>An error occurred while deserializing the Object property of class TestObject: Cannot deserialize a 'ObjectId' from BsonType 'Binary'.</p>
    
    <p>--- InnerException ---</p>
    
    <p>Cannot deserialize a 'ObjectId' from BsonType 'Binary'.</p>
  </blockquote>
  
  <pre><code>[DataObject]
  public class TestObject
  {
      [BsonId]
      [BsonElement("_id")]
      public ObjectId ObjectId { get; set; }
  }
  </code></pre>
  
  <p>If I make it a BsonType.Binary</p>
  
  <blockquote>
    <p>An error has occurred while resolving 'MongoDataSource' data source: An error occurred while invaking data retrieval method.</p>
    
    <p>--- InnerException ---</p>
    
    <p>Exception has been thrown by the target of an invocation.</p>
    
    <p>--- InnerException ---</p>
    
    <p>Binary is not a valid representation for an ObjectIdSerializer.</p>
  </blockquote>
  
  <pre><code>[DataObject]
  public class TestObject
  {
      [BsonId]
      [BsonElement("_id")]
      [BsonRepresentation(BsonType.Binary)]
      public ObjectId ObjectId { get; set; }
  }
  </code></pre>