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" />
<PackageReference Include="Linq2MongoDB.LINQPadDriver" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Linq2MongoDB.LINQPadDriver&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This is a LINQPad driver for MongoDB
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
- Click
Add connection
- Click
View more drivers...
- On LINQPad Nuget Manager window, switch the radio button to
Search all drivers
- Select package
Linq2MongoDB.LINQPadDriver
and clickinstall
Setup connection
- Add connection, choose
Build data context automatically
and select MongoDB Driver clickNext
. - Configure Connection String, Database Name and optionally Display name (otherwise Host + DB names are used)
- 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 | Versions 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.
-
net6.0-windows7.0
- LINQPad.Reference (>= 1.3.1)
- MongoDB.Driver (>= 3.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.