CyberEye.MongoDb.Lib
3.0.34
dotnet add package CyberEye.MongoDb.Lib --version 3.0.34
NuGet\Install-Package CyberEye.MongoDb.Lib -Version 3.0.34
<PackageReference Include="CyberEye.MongoDb.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.MongoDb.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.MongoDb.Lib" />
paket add CyberEye.MongoDb.Lib --version 3.0.34
#r "nuget: CyberEye.MongoDb.Lib, 3.0.34"
#:package CyberEye.MongoDb.Lib@3.0.34
#addin nuget:?package=CyberEye.MongoDb.Lib&version=3.0.34
#tool nuget:?package=CyberEye.MongoDb.Lib&version=3.0.34
CyberEye.MongoDb.Lib
Repository/service cho MongoDB và các gateway phân vùng dữ liệu. Dùng cùng MongoClient và cấu hình do host cung cấp.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.MongoDb.Lib
Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.
Tích hợp
Các API chính nằm trong Interfaces và Implementations, gồm IMongoBaseRepository/MongoBaseRepository. Kiểm tra chữ ký API của phiên bản package đang dùng trước khi tạo implementation riêng.
Với host dùng Ce.Common.Lib:
using Ce.Common.Lib.StartupExtensions;
// Fragment: ProductRepository là repository MongoDB của ứng dụng.
services.AddMongoDb(configuration);
services.AddMongoBaseRepositories(typeof(ProductRepository).Assembly);
Các extension này thuộc Ce.Common.Lib và nhận assembly khi quét repository. Không có mẫu AddMongoBaseRepositories() không tham số. Host dùng section Mongo, không phải MongoDbConfig tự đặt.
Transaction phụ thuộc topology MongoDB và luồng gọi cụ thể; không mặc định mọi thao tác trên nhiều document là một transaction.
| 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. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CyberEye.CommonMongoDb.Lib (>= 3.0.34)
- CyberEye.DataScope.Lib (>= 3.0.34)
- CyberEye.Logging.Lib (>= 3.0.34)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CyberEye.MongoDb.Lib:
| Package | Downloads |
|---|---|
|
CyberEye.Common.Lib
Package chứa các hàm tiện ích, các base class, abstract class |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 41 | 11/15/2026 |
| 3.0.30 | 44 | 11/15/2026 |
| 3.0.29 | 53 | 11/13/2026 |
| 3.0.28 | 126 | 11/6/2026 |
| 3.0.27 | 146 | 9/17/2026 |
| 3.0.26 | 140 | 9/8/2026 |
| 3.0.25 | 170 | 8/22/2026 |
| 3.0.24 | 156 | 8/10/2026 |
| 3.0.23 | 155 | 8/9/2026 |
| 3.0.22 | 184 | 8/1/2026 |
| 3.0.21 | 153 | 7/28/2026 |
| 3.0.20 | 168 | 7/27/2026 |
| 3.0.19 | 151 | 7/27/2026 |
| 3.0.18 | 153 | 7/17/2026 |
| 3.0.17 | 172 | 7/13/2026 |
| 3.0.16 | 155 | 7/12/2026 |
| 3.0.15 | 156 | 7/10/2026 |