How to pass Object to MongoDb query builder?
public IMongoQuery Equals(string name,object value){
return Query.EQ(name, **value**); //compilation error,
//no overloaded method and no implicit overloading
//operator for object
}
If we are just passing primitive variables int, double etc. they have overloaded implicit operator in BsonValue class for all primitive types. I wondered if there's a way to achieve this.