Eliassen.MongoDB 0.1.82

There is a newer version of this package available.
See the version list below for details.
dotnet add package Eliassen.MongoDB --version 0.1.82                
NuGet\Install-Package Eliassen.MongoDB -Version 0.1.82                
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="Eliassen.MongoDB" Version="0.1.82" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.MongoDB --version 0.1.82                
#r "nuget: Eliassen.MongoDB, 0.1.82"                
#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.
// Install Eliassen.MongoDB as a Cake Addin
#addin nuget:?package=Eliassen.MongoDB&version=0.1.82

// Install Eliassen.MongoDB as a Cake Tool
#tool nuget:?package=Eliassen.MongoDB&version=0.1.82                

Eliassen.MongoDB

BsonObjectIdConvention

Represents a convention for configuring BSON serialization of object IDs.

Methods

Apply(MongoDB.Bson.Serialization.BsonMemberMap)

Applies a modification to the member map.

IMongoDatabaseFactory

Provides a centralized means to create MongoDB instances.

Methods

Create<T>

Factory method to create a MongoDB instance.

Create<TDocument, TSettings>

Factory method to create a MongoDB Database abstraction.

IMongoDatabaseRegistration

Internal registry for MongoDB database connections.

Properties

  • Types: List of registered interfaces for MongoDB instances.

IMongoSettings

Common pattern for declaring MongoDB settings.

Properties

  • ConnectionString: MongoDB Connection String
  • DatabaseName: Name of the database to map for MongoDB

MongoDatabaseFactory

Factory for creating MongoDB database instances.

Methods

Constructor

Initializes a new instance of the class.

Create<T>

Creates a MongoDB database instance based on the provided settings.

Create<TDocument, TSettings>

Creates a proxied MongoDB database instance based on the provided settings.

Static Constructor

Registers serializers and conventions.

MongoDatabaseOptions

Default connection information for MongoDB databases.

Properties

  • ConnectionString: Gets or sets the connection string for the MongoDB database.
  • DatabaseName: Gets or sets the name of the MongoDB database.

Methods

ToString

Returns a string that represents the current object.

MongoDatabaseRegistration

Represents a registration of types for MongoDB databases.

Properties

  • Types: Gets the read-only collection of types registered for MongoDB databases.

MongoDispatchProxy

This proxy allows for dynamic creation of wrapper classes to expose MongoDatabase instances.

ServiceCollectionExtensions

Common libraries to enable MongoDB Support.

Methods

TryAddMongoServices

Enable common infrastructure.

TryAddMongoDatabase<T>

Register a MongoDatabase instance with custom configuration options.

TryAddMongoDatabase<T>

Register a MongoDatabase instance that will use the MongoDatabaseOptions configuration options.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Eliassen.MongoDB:

Package Downloads
Eliassen.Common.Extensions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.85 47 10/10/2024
0.1.84 44 10/10/2024
0.1.83 47 9/27/2024
0.1.82 149 8/23/2024
0.1.81 120 8/1/2024
0.1.81-dev-gh-pipline.3 47 8/1/2024