Eliassen.MongoDB
0.1.81
See the version list below for details.
dotnet add package Eliassen.MongoDB --version 0.1.81
NuGet\Install-Package Eliassen.MongoDB -Version 0.1.81
<PackageReference Include="Eliassen.MongoDB" Version="0.1.81" />
paket add Eliassen.MongoDB --version 0.1.81
#r "nuget: Eliassen.MongoDB, 0.1.81"
// Install Eliassen.MongoDB as a Cake Addin #addin nuget:?package=Eliassen.MongoDB&version=0.1.81 // Install Eliassen.MongoDB as a Cake Tool #tool nuget:?package=Eliassen.MongoDB&version=0.1.81
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 | Versions 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. |
-
net8.0
- Eliassen.Extensions (>= 0.1.81)
- Eliassen.System.Abstractions (>= 0.1.81)
- MongoDB.Driver (>= 2.27.0)
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.