bl.mongodb
3.0.9
See the version list below for details.
dotnet add package bl.mongodb --version 3.0.9
NuGet\Install-Package bl.mongodb -Version 3.0.9
<PackageReference Include="bl.mongodb" Version="3.0.9" />
<PackageVersion Include="bl.mongodb" Version="3.0.9" />
<PackageReference Include="bl.mongodb" />
paket add bl.mongodb --version 3.0.9
#r "nuget: bl.mongodb, 3.0.9"
#addin nuget:?package=bl.mongodb&version=3.0.9
#tool nuget:?package=bl.mongodb&version=3.0.9
A sample useful MongoDB Driver Helper.Only rely MongoDB.Driver.Include function below:
1.BaseDbContext.cs:you can create your DbContext inherit BaseDbContext
package some useful mongodb-to-C# mapping,like ObjectId<=>string,UTC<=>LocalTime,Enum<=>string,property name to camel field..etc
2.can get ConnetionString from env "CONNECTIONSTRINGS_MONGO" in docker container or "ConnectionStrings.Mongo" in appsettings.json:
3.BsonDocumentExtends.cs:
extend method to BsonValue,for example: var bs={info:{gender:{k:'01',v:'Man'}}} . we can get "Man" through bs.GetValueByHierarchicalNames("info.gender.v")
4.you can simply using BL.MongoDB.Gen's AddBLMongoDbContext method in ConfigureServices(startup.cs) to create your DbContext
5.example.api have some simple code for refering
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- MongoDB.Driver (>= 2.10.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on bl.mongodb:
Package | Downloads |
---|---|
BL.MongoDB.Gen
BL.MongoDB DbContext setting,use [CONNECTIONSTRINGS_MONGO] in environment variable or [ConnectionStrings.Mongo] in appsettings.json to create DbContext,prefer using [CONNECTIONSTRINGS_MONGO] in env |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
7.219.21 | 745 | 6/2/2023 |
7.219.20 | 612 | 6/2/2023 |
6.219.20 | 605 | 5/31/2023 |
6.0.7 | 993 | 8/11/2021 |
6.0.1 | 1,200 | 7/29/2021 |
6.0.0 | 923 | 7/28/2021 |
3.1.3 | 2,464 | 7/8/2021 |
3.1.2 | 2,029 | 11/9/2020 |
3.1.1 | 1,075 | 11/6/2020 |
3.1.0 | 1,347 | 9/9/2020 |
3.0.9 | 1,181 | 9/7/2020 |
3.0.8 | 1,388 | 9/2/2020 |
3.0.7 | 1,218 | 9/1/2020 |
3.0.6 | 1,160 | 8/31/2020 |
3.0.5 | 1,419 | 8/23/2020 |
3.0.4 | 1,219 | 8/10/2020 |
3.0.3 | 1,512 | 7/19/2020 |
3.0.2 | 1,585 | 7/6/2020 |
2.10.5 | 1,132 | 6/27/2020 |
2.10.4 | 1,249 | 5/31/2020 |
2.0.0 | 1,063 | 5/29/2020 |
1.3.5 | 1,061 | 4/29/2020 |
1.3.2 | 1,033 | 4/29/2020 |
1.3.1 | 1,090 | 4/29/2020 |
1.3.0 | 1,078 | 4/24/2020 |
1.2.23 | 1,032 | 4/16/2020 |
1.2.22 | 1,064 | 4/9/2020 |
1.2.20 | 1,124 | 3/22/2020 |
1.2.15 | 1,033 | 3/5/2020 |
1.0.12 | 1,220 | 8/1/2019 |
for