I'm just trying to query with the QueryBuilder, but it's telling me things
like '*The name `Query' does not exist in the current context*'... Unless I
try to include MongoDB.Driver.Builders, then it gives me this error instead:
*mongo.cs(3,22): error CS0305: Using the generic type
`MongoDB.Driver.Builders<TDocument>' requires `1' type argument(s)*
But I'm just trying to include a namespace... Notice how it's throwing the
error on line 3...
I'm trying to do something like this:
var collection = _database.GetCollection<BsonDocument>("users");
var query = Query.And(
var fields = Fields.Include("username");
var user =
Type currentType = user.GetType();
Thanks for any guideance, even if just pointing me to another way to do
this that won't error me out.
You received this message because you are subscribed to the Google Groups "mongodb-user"