MongoDB.Repository.Crud 2.7.6

This package contains CRUD functions that are ready for use for MongoDB. Implement IMongoConnection interface for connection. Please do not forget to get inheritance from EntityBase class for models.
step by step:
# step 1: please add connection class # public class MyMongoConnection : IMongoConnection /// # step 2: please add entity model ##public class ExampleEntity : EntityBase { public string ExampleField { get; set;} public static MongoDbRepository<ExampleEntity > DBContext = new MongoDbRepository<ExampleEntity >(); } /// # step 3: Please call any crud method # ExampleEntity.DBContext.Insert(new ExampleEntity(){  });

with database and collection context

Install-Package MongoDB.Repository.Crud -Version 2.7.6
dotnet add package MongoDB.Repository.Crud --version 2.7.6
<PackageReference Include="MongoDB.Repository.Crud" Version="2.7.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MongoDB.Repository.Crud --version 2.7.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

guid as string for just db beacuse LUUID is not easy.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.7.6 900 2/6/2019
2.7.5 97 2/6/2019
2.7.4 222 1/30/2019
2.6.3 830 9/5/2018
2.6.2 318 6/6/2018
2.6.1 269 5/15/2018