Linq2MongoDB.LINQPadDriver 1.0.1

dotnet add package Linq2MongoDB.LINQPadDriver --version 1.0.1
                    
NuGet\Install-Package Linq2MongoDB.LINQPadDriver -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Linq2MongoDB.LINQPadDriver" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Linq2MongoDB.LINQPadDriver" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Linq2MongoDB.LINQPadDriver" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Linq2MongoDB.LINQPadDriver --version 1.0.1
                    
#r "nuget: Linq2MongoDB.LINQPadDriver, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Linq2MongoDB.LINQPadDriver&version=1.0.1
                    
Install Linq2MongoDB.LINQPadDriver as a Cake Addin
#tool nuget:?package=Linq2MongoDB.LINQPadDriver&version=1.0.1
                    
Install Linq2MongoDB.LINQPadDriver as a Cake Tool

This is a LINQPad driver for MongoDB

NuGet Version License

This driver allows you to query MongoDB using LINQPad.

This driver is based on the mkjeff's MongoDB driver for .NET.

Requirement

  • LINQPad 7.x,
  • .net 6.x

Installation

  1. Click Add connection
  2. Click View more drivers...
  3. On LINQPad Nuget Manager window, switch the radio button to Search all drivers
  4. Select package Linq2MongoDB.LINQPadDriver and click install

Setup connection

  1. Add connection, choose Build data context automatically and select MongoDB Driver click Next.
  2. Configure Connection String, Database Name and optionally Display name (otherwise Host + DB names are used)
  3. Make queries to your MongoDB database

Note

  • Collections will be exposed as capitalized names with all non-alphanumeric characters removed, e.g.: 'users-data' will be exposed as 'Usersdata'
  • Collections are exposed as IQueryable<BsonDocument>, to access the underlying collection use the Collection property, e.g.: Usersdata.Collection
  • To access the underlying MongoDB instance, use Database
  • See examples for more information
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 78 3/28/2025
1.0.0 481 3/26/2025