How to save an Entity without the object Id or an id MongoDB C# Driver
<p>Um looking for a way to save a collection without an Id
My Entity Declaration as follows </p>

<pre><code>                public class TestA : IEntity
                    {
                        public string AppleSet { get; set; }
                        public string MapSted { get; set; }

                        [BsonIgnore]
                        public string Id { get; set; }


                    }
</code></pre>

<p>I need to declare ID field in the entity, is there a way to tell mongodb to ignore Id for a specific entity and save it to the database? </p>