Home

Connection to MongoDB

I'm new to LinqPad. Has anyone successfully made connection to MondoDb?

Comments

  • There's a third-party MongoDB driver available for LINQPad 6. Go to Add Connection, View More Drivers. Have you tried that?

  • Yes, I have the driver and created an assembly for the types. The driver lists my two types available but if I try to query anything all I get is this message and I cannot figure out what I'm doing wrong.

    CS1061 'IMongoCollection' does not contain a definition for 'Take' and no accessible extension method 'Take' accepting a first argument of type 'IMongoCollection' could be found (press F4 to add an assembly reference or import a namespace)

Sign In or Register to comment.