First of all I'm new to MongoDb. In MongoDb C# driver 1.9.x, i can take collections as queryable with AsQueryable method like this.
var db = client.GetServer().GetDatabase("test");
var col = db.GetCollection("Video");
var qrlist = col.AsQueryable();
I installed new driver 2.0rc and while using it, i cannot use AsQueryable method because it is missing. Is it departed or is there another way to accomplish this? (I have already included MongoDB.Driver.Linq).
var db = client.GetDatabase("test");
var col = db.GetCollection<Contact>("Contact"); //GetCollection without <T> is missing to.
var qrlist = col.AsQueryable(); // AsQueryable missing here.
How can i get my entities as queryable in new driver, need help from MongoDb gurus. Thank you.