title: How to apply BsonRepresentation attribute by convention when using MongoDB
body: <p>I'm trying to apply <code>[BsonRepresentation(BsonType.ObjectId)]</code> to all ids represented as strings withoput having to decorate all my ids with the attribute.</p>
  
  <p>I tried adding the <code>StringObjectIdIdGeneratorConvention</code> but that doesn't seem to sort it.</p>
  
  <p>Any ideas?</p>