title: Mapping C# object to BsonDocument
body: <p>I am relatively new to MongoDB. I have an object with the following definition</p>
  
  <pre><code>[BsonDiscriminator("user")]
  public Class BrdUser
  {
      [BsonId(IdGenerator = typeof(StringObjectIdGenerator))]
      public string ID { get; set; }
  
      [BsonElement("username")]
      public string UserNm { get; set; }
  
      [BsonElement("email")]
      public string EmailAdrs { get; set; }
      .
      .
      .
      public IList&lt;Question&gt; Questions{ get; set; } //&lt;-- Un sure as to what Bson type should this be
  }
  </code></pre>
  
  <p>Where <code>Questions</code> is another BsonDocument defined as :</p>
  
  <pre><code>[BsonDiscriminator("userques")]
  public class Question
  {
      [BsonId(IdGenerator = typeof(StringObjectIdGenerator))]
      public string ID { get; set; }
  
      [BsonElement("title")]
      public string Title{ get; set; }
  
      [BsonElement("desc")]
      public string Desciption{ get; set; }
  }
  </code></pre>
  
  <p>My Question is while mapping, what attribute should I use so that the User object deserializes with the Question objects. There is no <code>[BsonDocument]</code> attibute in C# Driver.</p>