using MongoDB.Bson.Serialization.Attributes; namespace ETModel { [BsonIgnoreExtraElements] public class DBConfig : AConfigComponent { public string ConnectionString { get; set; } public string DBName { get; set; } } }